[Bf-blender-cvs] [5e3d0840a39] master: PyDocs: Fix syntax errors resulting in warnings

Aaron Carlisle noreply at git.blender.org
Fri Jul 23 23:00:35 CEST 2021


Commit: 5e3d0840a39248244f4619e01736ada04376acae
Author: Aaron Carlisle
Date:   Fri Jul 23 16:50:10 2021 -0400
Branches: master
https://developer.blender.org/rB5e3d0840a39248244f4619e01736ada04376acae

PyDocs: Fix syntax errors resulting in warnings

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

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

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

diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 5b1a8f06c60..7ecdbe4b4d9 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -4254,7 +4254,7 @@ static PyObject *pyrna_struct_dir(BPy_StructRNA *self)
 }
 
 PyDoc_STRVAR(pyrna_struct_id_properties_ensure_doc,
-             ".. method:: id_properties_ensure()\n"
+             ".. method:: id_properties_ensure()\n\n"
              "   :return: the parent group for an RNA struct's custom IDProperties.\n"
              "   :rtype: :class:`bpy.types.IDPropertyGroup`\n");
 static PyObject *pyrna_struct_id_properties_ensure(BPy_StructRNA *self)
@@ -4282,7 +4282,7 @@ static PyObject *pyrna_struct_id_properties_ensure(BPy_StructRNA *self)
 }
 
 PyDoc_STRVAR(pyrna_struct_id_properties_clear_doc,
-             ".. method:: id_properties_clear()\n"
+             ".. method:: id_properties_clear()\n\n"
              "   :return: Remove the parent group for an RNA struct's custom IDProperties.\n");
 static PyObject *pyrna_struct_id_properties_clear(BPy_StructRNA *self)
 {



More information about the Bf-blender-cvs mailing list