Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
This commit is contained in:
@@ -401,7 +401,7 @@ static PyObject *pyop_as_string(PyObject *UNUSED(self), PyObject *args)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* WM_operator_properties_create(&ptr, opname); */
|
||||
// WM_operator_properties_create(&ptr, opname);
|
||||
/* Save another lookup */
|
||||
RNA_pointer_create(NULL, ot->srna, NULL, &ptr);
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ static int validate_array_type(PyObject *seq,
|
||||
ok = 0;
|
||||
}
|
||||
else if ((item_seq_size = PySequence_Size(item)) == -1) {
|
||||
/* BLI_snprintf(error_str, error_str_size, "expected a sequence of %s", item_type_str); */
|
||||
// BLI_snprintf(error_str, error_str_size, "expected a sequence of %s", item_type_str);
|
||||
PyErr_Format(PyExc_TypeError,
|
||||
"%s expected a sequence of %s, not %s",
|
||||
error_prefix,
|
||||
|
||||
Reference in New Issue
Block a user