Commit: 07c5ca7f2cfc1e9bd898d88f7ed84d24cfc105c2 Author: Sybren A. Stüvel Date: Fri Mar 6 14:27:47 2020 +0100 Branches: master https://developer.blender.org/rB07c5ca7f2cfc1e9bd898d88f7ed84d24cfc105c2
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. =================================================================== M 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"; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs