diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-26 10:19:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-27 06:48:18 +0300 |
commit | c1c5dff7c0a4950d53a45ea5d49b2f0dd6c1388b (patch) | |
tree | 9fe0e4a6eb20c0934b65a620780035e8e482750e /source | |
parent | b7b57e7155ee8a42c3f2a30f096621da9eea8f7d (diff) |
Doc: correct bpy.msgbus arguments
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/intern/bpy_msgbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
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" |