Cleanup: spelling in comments

This commit is contained in:
2023-03-17 16:43:56 +11:00
parent 01a29ebaeb
commit b6b0bc4531
13 changed files with 26 additions and 26 deletions

View File

@@ -3468,8 +3468,8 @@ static Py_hash_t bpy_bm_hash(PyObject *self)
return _Py_HashPointer(((BPy_BMesh *)self)->bm);
}
/* Type Docstrings
* =============== */
/* Type Doc-strings
* ================ */
PyDoc_STRVAR(bpy_bmesh_doc, "The BMesh data structure\n");
PyDoc_STRVAR(bpy_bmvert_doc, "The BMesh vertex type\n");
@@ -3694,7 +3694,7 @@ void BPy_BM_init_types(void)
BPy_BMFaceSeq_Type.tp_iter = (getiterfunc)bpy_bmelemseq_iter;
BPy_BMLoopSeq_Type.tp_iter = NULL; /* no mapping */
/* only 1 iteratir so far */
/* Only 1 iterator so far. */
BPy_BMIter_Type.tp_iternext = (iternextfunc)bpy_bmiter_next;
BPy_BMIter_Type.tp_iter = PyObject_SelfIter;

View File

@@ -829,7 +829,7 @@ PyObject *BPY_app_translations_struct(void)
{
PyObject *ret;
/* Let's finalize our contexts structseq definition! */
/* Let's finalize our contexts `PyStructSequence` definition! */
{
BLT_i18n_contexts_descriptor *ctxt;
PyStructSequence_Field *desc;

View File

@@ -803,7 +803,7 @@ static PyObject *C_BVHTree_FromPolygons(PyObject * /*cls*/, PyObject *args, PyOb
}
*p_plink_prev = nullptr;
/* all ngon's are parsed, now tessellate */
/* All NGON's are parsed, now tessellate. */
pf_arena = BLI_memarena_new(BLI_POLYFILL_ARENA_SIZE, __func__);
tris = static_cast<uint(*)[3]>(MEM_mallocN(sizeof(*tris) * size_t(tris_len), __func__));