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:
authorSybren A. Stüvel <sybren@blender.org>2020-03-06 16:27:47 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-03-06 16:29:03 +0300
commit07c5ca7f2cfc1e9bd898d88f7ed84d24cfc105c2 (patch)
tree07057f238ed6c37fd99f8171506921cbefc4686a /source/blender/python/intern/bpy_msgbus.c
parentb839a5d0765bd449fb4f3a58ed683ec0233a8acf (diff)
Cleanup: Message bus, removed incorrect return type from docstring
The docstring was likely copy-pasted, and the return type was not adjusted. Since the `bpy.msgbus.subscribe_rna()` returns nothing, I just removed the return type documentation.
Diffstat (limited to 'source/blender/python/intern/bpy_msgbus.c')
-rw-r--r--source/blender/python/intern/bpy_msgbus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_msgbus.c b/source/blender/python/intern/bpy_msgbus.c
index db410fc10b1..3d98a3879a3 100644
--- a/source/blender/python/intern/bpy_msgbus.c
+++ b/source/blender/python/intern/bpy_msgbus.c
@@ -214,9 +214,7 @@ PyDoc_STRVAR(
"\n"
" - ``PERSISTENT`` when set, the subscriber will be kept when remapping ID data.\n"
"\n"
- " :type options: set of str.\n"
- "\n"
- " Returns a new vector int property definition.\n");
+ " :type options: set of str.\n");
static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args, PyObject *kw)
{
const char *error_prefix = "subscribe_rna";