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-03-14 13:31:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-14 13:31:50 +0300
commit2d1ef275f2299c71dade74743cdca0c771648333 (patch)
treeff5aecce30dde5a39531755fd54b720d44686114 /release/scripts/modules/rna_info.py
parent80d1bb5fcd5195859a6d622179073348f5034308 (diff)
bpy.types.libraries.load sphinx doc & examples (doc system needed some updates).
http://www.blender.org/documentation/blender_python_api_2_56_3/bpy.types.BlendDataLibraries.html#bpy.types.BlendDataLibraries.load
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r--release/scripts/modules/rna_info.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py
index 201665cfda5..ac6043da340 100644
--- a/release/scripts/modules/rna_info.py
+++ b/release/scripts/modules/rna_info.py
@@ -152,6 +152,14 @@ class InfoStructRNA:
functions.append((identifier, attr))
return functions
+ def get_py_c_functions(self):
+ import types
+ functions = []
+ for identifier, attr in self._get_py_visible_attrs():
+ if type(attr) in (types.BuiltinMethodType, types.BuiltinFunctionType):
+ functions.append((identifier, attr))
+ return functions
+
def __str__(self):
txt = ""