Commit b6af60c2 authored by Benjamin Peterson's avatar Benjamin Peterson

adjust formatting

parent 3471bb67
...@@ -458,9 +458,9 @@ type_set_bases(PyTypeObject *type, PyObject *value, void *context) ...@@ -458,9 +458,9 @@ type_set_bases(PyTypeObject *type, PyObject *value, void *context)
for (i = 0; i < PyTuple_GET_SIZE(value); i++) { for (i = 0; i < PyTuple_GET_SIZE(value); i++) {
ob = PyTuple_GET_ITEM(value, i); ob = PyTuple_GET_ITEM(value, i);
if (!PyType_Check(ob)) { if (!PyType_Check(ob)) {
PyErr_Format( PyErr_Format(PyExc_TypeError,
PyExc_TypeError, "%s.__bases__ must be tuple of old- or "
"%s.__bases__ must be tuple of old- or new-style classes, not '%s'", "new-style classes, not '%s'",
type->tp_name, Py_TYPE(ob)->tp_name); type->tp_name, Py_TYPE(ob)->tp_name);
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment