Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538561e commit 50bf51aCopy full SHA for 50bf51a
1 file changed
Objects/typeobject.c
@@ -1326,13 +1326,15 @@ mro_internal(PyTypeObject *type)
1326
PyErr_Format(PyExc_TypeError,
1327
"mro() returned a non-class ('%.500s')",
1328
cls->ob_type->tp_name);
1329
+ Py_DECREF(tuple);
1330
return -1;
1331
}
1332
t = (PyTypeObject*)cls;
1333
if (!PyType_IsSubtype(solid, solid_base(t))) {
1334
1335
"mro() returned base with unsuitable layout ('%.500s')",
1336
t->tp_name);
1337
1338
1339
1340
0 commit comments