diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-23 07:33:43 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-23 07:33:43 +0300 |
commit | add1b6ab3c91d408635b311127224dd4cc33f1ab (patch) | |
tree | 96b6220374202c9c8b6cab30a33188f50267121b /source/blender/python | |
parent | 3edd87f0099923742ed5a60e23ebfcdd539fb76e (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader_create_info.cc | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader_create_info.cc b/source/blender/python/gpu/gpu_py_shader_create_info.cc index f35c5a01145..f191e6cc71c 100644 --- a/source/blender/python/gpu/gpu_py_shader_create_info.cc +++ b/source/blender/python/gpu/gpu_py_shader_create_info.cc @@ -1014,7 +1014,7 @@ static struct PyMethodDef pygpu_shader_info__tp_methods[] = { /** \} */ /* -------------------------------------------------------------------- */ -/** \name GPUShaderCreateInfo Init +/** \name GPUShaderCreateInfo Initialization * \{ */ static PyObject *pygpu_shader_info__tp_new(PyTypeObject *UNUSED(type), diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index cf684341d4f..161f05deafd 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -3304,7 +3304,7 @@ PyObject *Vector_CreatePyObject(const float *vec, const int vec_num, PyTypeObjec self->vec = vec_alloc; self->vec_num = vec_num; - /* init callbacks as NULL */ + /* Initialize callbacks as NULL. */ self->cb_user = NULL; self->cb_type = self->cb_subtype = 0; @@ -3339,7 +3339,7 @@ PyObject *Vector_CreatePyObject_wrap(float *vec, const int vec_num, PyTypeObject if (self) { self->vec_num = vec_num; - /* init callbacks as NULL */ + /* Initialize callbacks as NULL. */ self->cb_user = NULL; self->cb_type = self->cb_subtype = 0; |