[Bf-blender-cvs] [c1c5dff7c0a] master: Doc: correct bpy.msgbus arguments
Campbell Barton
noreply at git.blender.org
Sat Jun 27 08:00:28 CEST 2020
Commit: c1c5dff7c0a4950d53a45ea5d49b2f0dd6c1388b
Author: Campbell Barton
Date: Fri Jun 26 17:19:44 2020 +1000
Branches: master
https://developer.blender.org/rBc1c5dff7c0a4950d53a45ea5d49b2f0dd6c1388b
Doc: correct bpy.msgbus arguments
===================================================================
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 c068182fe27..45c5aba1e3e 100644
--- a/source/blender/python/intern/bpy_msgbus.c
+++ b/source/blender/python/intern/bpy_msgbus.c
@@ -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"
More information about the Bf-blender-cvs
mailing list