[Python-checkins] cpython (3.2): adjust formatting

benjamin.peterson python-checkins at python.org
Mon Apr 2 00:50:54 CEST 2012


http://hg.python.org/cpython/rev/d746ffc34e0f
changeset:   76059:d746ffc34e0f
branch:      3.2
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Apr 01 18:49:54 2012 -0400
summary:
  adjust formatting

files:
  Objects/typeobject.c |  10 +++++-----
  1 files changed, 5 insertions(+), 5 deletions(-)


diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -458,11 +458,11 @@
     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,

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list