[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54650] trunk/blender/source/blender/ python/intern/bpy_props.c: bpy.props.RemoveProperty() had incorrect docstring.
Campbell Barton
ideasman42 at gmail.com
Tue Feb 19 03:48:16 CET 2013
Revision: 54650
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54650
Author: campbellbarton
Date: 2013-02-19 02:48:14 +0000 (Tue, 19 Feb 2013)
Log Message:
-----------
bpy.props.RemoveProperty() had incorrect docstring.
Modified Paths:
--------------
trunk/blender/source/blender/python/intern/bpy_props.c
Modified: trunk/blender/source/blender/python/intern/bpy_props.c
===================================================================
--- trunk/blender/source/blender/python/intern/bpy_props.c 2013-02-19 02:30:02 UTC (rev 54649)
+++ trunk/blender/source/blender/python/intern/bpy_props.c 2013-02-19 02:48:14 UTC (rev 54650)
@@ -2796,12 +2796,17 @@
}
PyDoc_STRVAR(BPy_RemoveProperty_doc,
-".. function:: RemoveProperty(attr)\n"
+".. function:: RemoveProperty(cls, attr)\n"
"\n"
" Removes a dynamically defined property.\n"
"\n"
+" :arg cls: The class containing the property.\n"
+" :type cls: type\n"
" :arg attr: Property name.\n"
" :type attr: string\n"
+"\n"
+".. note:: Typically this function doesn't need to be accessed directly.\n"
+" Instead use ``del cls.attr``\n"
);
static PyObject *BPy_RemoveProperty(PyObject *self, PyObject *args, PyObject *kw)
{
More information about the Bf-blender-cvs
mailing list