Doc: correct bpy.msgbus arguments
This commit is contained in:
@@ -206,7 +206,7 @@ static void bpy_msgbus_subscribe_value_free_data(struct wmMsgSubscribeKey *UNUSE
|
||||
|
||||
PyDoc_STRVAR(
|
||||
bpy_msgbus_subscribe_rna_doc,
|
||||
".. function:: subscribe_rna(data, owner, args, notify, options=set())\n"
|
||||
".. function:: subscribe_rna(key, owner, args, notify, options=set())\n"
|
||||
"\n" BPY_MSGBUS_RNA_MSGKEY_DOC
|
||||
" :arg owner: Handle for this subscription (compared by identity).\n"
|
||||
" :type owner: Any type.\n"
|
||||
@@ -314,7 +314,7 @@ static PyObject *bpy_msgbus_subscribe_rna(PyObject *UNUSED(self), PyObject *args
|
||||
|
||||
PyDoc_STRVAR(
|
||||
bpy_msgbus_publish_rna_doc,
|
||||
".. function:: publish_rna(data, owner, args, notify)\n"
|
||||
".. function:: publish_rna(key)\n"
|
||||
"\n" BPY_MSGBUS_RNA_MSGKEY_DOC
|
||||
"\n"
|
||||
" Notify subscribers of changes to this property\n"
|
||||
|
Reference in New Issue
Block a user