- new docstrings for bpy.type.Struct methods & some corrections.
- struct.path_to_id() --> path_from_id().
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user