Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-24 23:36:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-24 23:36:12 +0400
commit6e28ac2d7b241d9ee859650d58a89e2b7d441ea7 (patch)
tree5a1aaeb5131a5ca240bd88e93b9fba0bdcaa1f30 /release/scripts/modules/console
parentddfc518caea168ae1882e717ef28a35f91705a14 (diff)
pep8 edits and avoid naming conflicts with python builtins
Diffstat (limited to 'release/scripts/modules/console')
-rw-r--r--release/scripts/modules/console/complete_calltip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/console/complete_calltip.py b/release/scripts/modules/console/complete_calltip.py
index 29187297707..3404bb792fa 100644
--- a/release/scripts/modules/console/complete_calltip.py
+++ b/release/scripts/modules/console/complete_calltip.py
@@ -72,7 +72,7 @@ def reduce_spaces(text):
return RE_SPACE.sub(' ', text)
-def get_doc(object):
+def get_doc(obj):
"""Get the doc string or comments for an object.
:param object: object
@@ -82,7 +82,7 @@ def get_doc(object):
>>> get_doc(abs)
'abs(number) -> number\\n\\nReturn the absolute value of the argument.'
"""
- result = inspect.getdoc(object) or inspect.getcomments(object)
+ result = inspect.getdoc(obj) or inspect.getcomments(obj)
return result and RE_EMPTY_LINE.sub('', result.rstrip()) or ''