[Bf-blender-cvs] [48bb144feac] master: PyDoc: reference enum instead of inlining

Campbell Barton noreply at git.blender.org
Thu Jun 2 12:16:55 CEST 2022


Commit: 48bb144feac96e6de8f267417063f4ee0a0de429
Author: Campbell Barton
Date:   Thu Jun 2 20:15:53 2022 +1000
Branches: master
https://developer.blender.org/rB48bb144feac96e6de8f267417063f4ee0a0de429

PyDoc: reference enum instead of inlining

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

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

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

diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c
index f54bf3e2774..939473ceaa0 100644
--- a/source/blender/python/intern/bpy_app.c
+++ b/source/blender/python/intern/bpy_app.c
@@ -459,7 +459,7 @@ PyDoc_STRVAR(bpy_app_is_job_running_doc,
              "\n"
              "   Check whether a job of the given type is running.\n"
              "\n"
-             "   :arg job_type: job type in ['RENDER', 'RENDER_PREVIEW', OBJECT_BAKE]."
+             "   :arg job_type: job type in :ref:`rna_enum_wm_job_type_items`.\n"
              "   :type job_type: str\n"
              "   :return: Whether a job of the given type is currently running.\n"
              "   :rtype: bool.\n");



More information about the Bf-blender-cvs mailing list