From f81a6a2ff1dc34bbffd6ed34cfc49646e1bfc5f9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 Jul 2021 16:16:38 +1000 Subject: Cleanup: spelling in comments --- source/blender/python/intern/bpy_props.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source/blender/python/intern') 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=\"\", " -- cgit v1.2.3