adjust formatting

This commit is contained in:
Benjamin Peterson 2012-04-01 18:49:54 -04:00
parent 3471bb67e7
commit b6af60c2a9
1 changed files with 5 additions and 5 deletions

View File

@ -458,9 +458,9 @@ type_set_bases(PyTypeObject *type, PyObject *value, void *context)
for (i = 0; i < PyTuple_GET_SIZE(value); i++) {
ob = PyTuple_GET_ITEM(value, i);
if (!PyType_Check(ob)) {
PyErr_Format(
PyExc_TypeError,
"%s.__bases__ must be tuple of old- or new-style classes, not '%s'",
PyErr_Format(PyExc_TypeError,
"%s.__bases__ must be tuple of old- or "
"new-style classes, not '%s'",
type->tp_name, Py_TYPE(ob)->tp_name);
return -1;
}