diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-19 06:48:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-19 06:48:14 +0400 |
commit | 6550fb8452da5cdb1f913a1e57e13354b4ea6f5f (patch) | |
tree | b94c9921244ec9047c07696c338bda01cd0b081f /source/blender/python | |
parent | 098e4234b113fdff9804ef76b6f0bdb12a6bac3b (diff) |
bpy.props.RemoveProperty() had incorrect docstring.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index b42fdbd0ca4..7ffce0e9a93 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -2796,12 +2796,17 @@ static PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject } 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) { |