[Bf-blender-cvs] [6b944e8dc03] refactor-idprop-ui-data: Add key arg to id_properties_ui doc

Hans Goudey noreply at git.blender.org
Thu Aug 5 21:01:51 CEST 2021


Commit: 6b944e8dc03f2d0dba2db0e2c78efd5339ade2c9
Author: Hans Goudey
Date:   Thu Aug 5 13:54:29 2021 -0500
Branches: refactor-idprop-ui-data
https://developer.blender.org/rB6b944e8dc03f2d0dba2db0e2c78efd5339ade2c9

Add key arg to id_properties_ui doc

===================================================================

M	source/blender/python/intern/bpy_rna.c

===================================================================

diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 0f5c92217c6..027eb3f1ec5 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -4328,8 +4328,9 @@ static PyObject *pyrna_struct_id_properties_ensure(BPy_StructRNA *self)
 }
 
 PyDoc_STRVAR(pyrna_struct_id_properties_ui_doc,
-             ".. method:: id_properties_ui()\n\n"
+             ".. method:: id_properties_ui(key)\n\n"
              "   :return: Return an object used to manage an IDProperty's UI data.\n"
+             "   :arg key: String name of the property.\n"
              "   :rtype: :class:`bpy.types.IDPropertyUIManager`\n");
 static PyObject *pyrna_struct_id_properties_ui(BPy_StructRNA *self, PyObject *args)
 {



More information about the Bf-blender-cvs mailing list