Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-07-30 09:16:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-30 09:16:38 +0300
commitf81a6a2ff1dc34bbffd6ed34cfc49646e1bfc5f9 (patch)
treea0df6d64f0b945aa0eea40a7f4af222e0dda33fe /source/blender/python
parent63f7eceb53085ef40cad4dc2343dbe608be999c1 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_props.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c
index 38b66a0589b..a84d920d47d 100644
--- a/source/blender/python/intern/bpy_props.c
+++ b/source/blender/python/intern/bpy_props.c
@@ -2651,11 +2651,15 @@ static int bpy_struct_id_used(StructRNA *srna, char *identifier)
/* -------------------------------------------------------------------- */
/** \name Module Methods
+ *
+ * Functions that register RNA.
+ *
+ * \note The `self` argument is NULL when called from Python,
+ * but being abused from C so we can pass the `srna` along.
+ * This isn't incorrect since its a Python object - but be careful.
+ *
* \{ */
-/* Function that sets RNA, NOTE - self is NULL when called from python,
- * but being abused from C so we can pass the srna along.
- * This isn't incorrect since its a python object - but be careful */
PyDoc_STRVAR(BPy_BoolProperty_doc,
".. function:: BoolProperty(name=\"\", "
"description=\"\", "