diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-06 11:49:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-06 11:49:10 +0400 |
commit | bad41fcff50f599dd1e9a6595a365d6d796df584 (patch) | |
tree | db14f80dcfa3c5c137c2fdd27896227d0c4d42a9 /source/blender/python/doc/sphinx_doc_gen.py | |
parent | 5304a65b50103c405cc5130a479a36833ec7f9bd (diff) |
- new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().
Diffstat (limited to 'source/blender/python/doc/sphinx_doc_gen.py')
-rw-r--r-- | source/blender/python/doc/sphinx_doc_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/doc/sphinx_doc_gen.py b/source/blender/python/doc/sphinx_doc_gen.py index 667e282da2c..37bc123ee53 100644 --- a/source/blender/python/doc/sphinx_doc_gen.py +++ b/source/blender/python/doc/sphinx_doc_gen.py @@ -481,7 +481,7 @@ def rna2sphinx(BASEPATH): # c/python methods, only for the base class if struct.identifier == "Struct": - for attribute, descr in bpy.types.Struct.__bases__[0].__dict__.items(): + for attribute, descr in sorted(bpy.types.Struct.__bases__[0].__dict__.items()): if type(descr) == MethodDescriptorType: # GetSetDescriptorType, GetSetDescriptorType's are not documented yet if descr.__doc__: write_indented_lines(" ", fw, descr.__doc__, False) |