Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6af60c

Browse files
committed
adjust formatting
1 parent 3471bb6 commit b6af60c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Objects/typeobject.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,11 @@ type_set_bases(PyTypeObject *type, PyObject *value, void *context)
458458
for (i = 0; i < PyTuple_GET_SIZE(value); i++) {
459459
ob = PyTuple_GET_ITEM(value, i);
460460
if (!PyType_Check(ob)) {
461-
PyErr_Format(
462-
PyExc_TypeError,
463-
"%s.__bases__ must be tuple of old- or new-style classes, not '%s'",
464-
type->tp_name, Py_TYPE(ob)->tp_name);
465-
return -1;
461+
PyErr_Format(PyExc_TypeError,
462+
"%s.__bases__ must be tuple of old- or "
463+
"new-style classes, not '%s'",
464+
type->tp_name, Py_TYPE(ob)->tp_name);
465+
return -1;
466466
}
467467
if (PyType_IsSubtype((PyTypeObject*)ob, type)) {
468468
PyErr_SetString(PyExc_TypeError,

0 commit comments

Comments
 (0)