From 07c5ca7f2cfc1e9bd898d88f7ed84d24cfc105c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 6 Mar 2020 14:27:47 +0100 Subject: 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. --- source/blender/python/intern/bpy_msgbus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/python/intern/bpy_msgbus.c') 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"; -- cgit v1.2.3