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:
Sybren A. Stüvel 2020-03-06 14:27:47 +01:00
parent b839a5d076
commit 07c5ca7f2c
1 changed files with 1 additions and 3 deletions

View File

@ -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";