Cleanup: use C++ style comments for disabled code
This commit is contained in:
@@ -7505,7 +7505,7 @@ static PyObject *pyrna_srna_Subtype(StructRNA *srna)
|
||||
/* Newclass will now have 2 ref's, ???,
|
||||
* probably 1 is internal since #Py_DECREF here segfaults. */
|
||||
|
||||
/* PyC_ObSpit("new class ref", newclass); */
|
||||
// PyC_ObSpit("new class ref", newclass);
|
||||
|
||||
if (newclass) {
|
||||
/* srna owns one, and the other is owned by the caller. */
|
||||
|
||||
@@ -334,7 +334,7 @@ static int validate_array_length(PyObject *rvalue,
|
||||
}
|
||||
|
||||
if (tot != len) {
|
||||
/* BLI_snprintf(error_str, error_str_size, "sequence must have length of %d", len); */
|
||||
// BLI_snprintf(error_str, error_str_size, "sequence must have length of %d", len);
|
||||
PyErr_Format(PyExc_ValueError,
|
||||
"%s %.200s.%.200s, sequence must have %d items total, not %d",
|
||||
error_prefix,
|
||||
|
||||
Reference in New Issue
Block a user