diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-18 14:48:34 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-18 14:48:34 +0300 |
commit | 708547ab06519ce741a091a20777cd5b1bf27120 (patch) | |
tree | 09bb235a0006567296320f275b6d5ac82353a87e /doc/python_api/sphinx_doc_gen.py | |
parent | 8fb2a619668bd736c75852d6482cd5e017cd8c90 (diff) | |
parent | 136a06285f0e953f65dc432a4dba1ff3d1f781ee (diff) |
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 1949d77a50b..0a20bd83c22 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -1456,6 +1456,12 @@ def pyrna2sphinx(basepath): pyprop2sphinx(" ", fw, identifier, py_prop) del py_properties, py_prop + # C/Python attributes: `GetSetDescriptorType`. + key = descr = None + for key, descr in sorted(struct.get_py_c_properties_getset()): + py_descr2sphinx(" ", fw, descr, "bpy.types", struct_id, key) + del key, descr + for func in struct.functions: args_str = ", ".join(prop.get_arg_default(force=False) for prop in func.args) |