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.
This commit is contained in:
2020-03-06 14:27:47 +01:00
parent b839a5d076
commit 07c5ca7f2c

View File

@@ -214,9 +214,7 @@ PyDoc_STRVAR(
"\n" "\n"
" - ``PERSISTENT`` when set, the subscriber will be kept when remapping ID data.\n" " - ``PERSISTENT`` when set, the subscriber will be kept when remapping ID data.\n"
"\n" "\n"
" :type options: set of str.\n" " :type options: set of str.\n");
"\n"
" Returns a new vector int property definition.\n");
static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args, PyObject *kw) static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args, PyObject *kw)
{ {
const char *error_prefix = "subscribe_rna"; const char *error_prefix = "subscribe_rna";