diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 12:59:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 13:01:10 +0300 |
commit | 778542fd8fe80f87286d36bb4005314a8343e038 (patch) | |
tree | 272d34c618e9cc07b0bac3fc87b6801e3908daa4 /source/blender/python/intern/bpy_operator_wrap.c | |
parent | c7f67d60fbe24df942bcde49aadf480ac6622e71 (diff) |
Cleanup: comments (long lines) in python
Diffstat (limited to 'source/blender/python/intern/bpy_operator_wrap.c')
-rw-r--r-- | source/blender/python/intern/bpy_operator_wrap.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c index 976ed4611b0..8f2f08c7c37 100644 --- a/source/blender/python/intern/bpy_operator_wrap.c +++ b/source/blender/python/intern/bpy_operator_wrap.c @@ -45,7 +45,8 @@ static void operator_properties_init(wmOperatorType *ot) /* Only call this so pyrna_deferred_register_class gives a useful error * WM_operatortype_append_ptr will call RNA_def_struct_identifier later. * - * Note the 'no_struct_map' function is used since the actual struct name is already used by the operator. + * Note the 'no_struct_map' function is used since the actual struct name + * is already used by the operator. */ RNA_def_struct_identifier_no_struct_map(ot->srna, ot->idname); @@ -56,8 +57,9 @@ static void operator_properties_init(wmOperatorType *ot) /* set the default property: ot->prop */ { - /* picky developers will notice that 'bl_property' won't work with inheritance - * get direct from the dict to avoid raising a load of attribute errors (yes this isnt ideal) - campbell */ + /* Picky developers will notice that 'bl_property' won't work with inheritance + * get direct from the dict to avoid raising a load of attribute errors (yes this isnt ideal) + * - campbell. */ PyObject *py_class_dict = py_class->tp_dict; PyObject *bl_property = PyDict_GetItem(py_class_dict, bpy_intern_str_bl_property); const char *prop_id; |