[Bf-blender-cvs] [b33b70ed077] master: PyDoc: Fix poll_message_set API documentation to consistent with Python style

nutti noreply at git.blender.org
Sat Aug 7 02:18:39 CEST 2021


Commit: b33b70ed077eed2c885fd91dd920087c3491b938
Author: nutti
Date:   Fri Aug 6 20:17:59 2021 -0400
Branches: master
https://developer.blender.org/rBb33b70ed077eed2c885fd91dd920087c3491b938

PyDoc: Fix poll_message_set API documentation to consistent with Python style

Fix poll_message_set API documentation to consistent with Python style

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D12150

===================================================================

M	source/blender/python/intern/bpy_rna_operator.c

===================================================================

diff --git a/source/blender/python/intern/bpy_rna_operator.c b/source/blender/python/intern/bpy_rna_operator.c
index 490d9aa5212..d3ec54fc12d 100644
--- a/source/blender/python/intern/bpy_rna_operator.c
+++ b/source/blender/python/intern/bpy_rna_operator.c
@@ -91,7 +91,7 @@ static void pyop_poll_message_free_fn(bContext *UNUSED(C), void *user_data)
 }
 
 PyDoc_STRVAR(BPY_rna_operator_poll_message_set_doc,
-             ".. method:: poll_message_set(message, ...)\n"
+             ".. method:: poll_message_set(message, *args)\n"
              "\n"
              "   Set the message to show in the tool-tip when poll fails.\n"
              "\n"



More information about the Bf-blender-cvs mailing list