Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-19 06:48:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-19 06:48:14 +0400
commit6550fb8452da5cdb1f913a1e57e13354b4ea6f5f (patch)
treeb94c9921244ec9047c07696c338bda01cd0b081f
parent098e4234b113fdff9804ef76b6f0bdb12a6bac3b (diff)
bpy.props.RemoveProperty() had incorrect docstring.
-rw-r--r--source/blender/python/intern/bpy_props.c7
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)
{