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:
authorLuca Bonavita <mindrones@gmail.com>2010-10-15 17:09:38 +0400
committerLuca Bonavita <mindrones@gmail.com>2010-10-15 17:09:38 +0400
commit99bd5f2f3b987ca8f2353468d117624dc76e4b27 (patch)
treef096698012da8b26ffc9d21d6e30f47d8ffb67f1 /release/scripts/modules/rna_info.py
parentf5f935e58885096b7cb56f95d0525ccb9d1c4021 (diff)
== rna info ==
changing from __repr__ to __str__ after discussing with campbell was annyoing me when testing things, huge printouts :)
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r--release/scripts/modules/rna_info.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py
index 4282889c51a..e0298d30aa2 100644
--- a/release/scripts/modules/rna_info.py
+++ b/release/scripts/modules/rna_info.py
@@ -152,7 +152,7 @@ class InfoStructRNA:
functions.append((identifier, attr))
return functions
- def __repr__(self):
+ def __str__(self):
txt = ""
txt += self.identifier
@@ -285,7 +285,7 @@ class InfoPropertyRNA:
return type_str
- def __repr__(self):
+ def __str__(self):
txt = ''
txt += ' * ' + self.identifier + ': ' + self.description
@@ -319,7 +319,7 @@ class InfoFunctionRNA:
self.return_values = tuple(self.return_values)
- def __repr__(self):
+ def __str__(self):
txt = ''
txt += ' * ' + self.identifier + '('