summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-01 22:49:54 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-04-01 22:49:54 (GMT)
commitb6af60c2a9e2625987bcdd6775eb9fe8834c9641 (patch)
tree3315346910ee8ed57b45dbf55d1edccb11315c06
parent3471bb67e7add5c809c00e5c0977047017548b40 (diff)
downloadcpython-b6af60c2a9e2625987bcdd6775eb9fe8834c9641.zip
cpython-b6af60c2a9e2625987bcdd6775eb9fe8834c9641.tar.gz
cpython-b6af60c2a9e2625987bcdd6775eb9fe8834c9641.tar.bz2
adjust formatting
-rw-r--r--Objects/typeobject.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index c12cd7c..8cfa889 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -458,11 +458,11 @@ 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'",
- type->tp_name, Py_TYPE(ob)->tp_name);
- return -1;
+ 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;
}
if (PyType_IsSubtype((PyTypeObject*)ob, type)) {
PyErr_SetString(PyExc_TypeError,