Python: remove redundant casts

This commit is contained in:
2014-07-01 13:39:36 +10:00
parent c92c3ef611
commit 9f05588b68
6 changed files with 38 additions and 34 deletions

View File

@@ -6255,7 +6255,7 @@ static PyObject *pyrna_srna_Subtype(StructRNA *srna)
/* always use O not N when calling, N causes refcount errors */
#if 0
newclass = PyObject_CallFunction(metaclass, (char *)"s(O) {sss()}",
newclass = PyObject_CallFunction(metaclass, "s(O) {sss()}",
idname, py_base, "__module__", "bpy.types", "__slots__");
#else
{