summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2007-02-26 16:14:51 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2007-02-26 16:14:51 (GMT)
commit7c1e347f73b47eda09fbf33c37415621fe98566f (patch)
tree73580c354a6cf1cc9de2dce539367edc25f4d423 /Python/ceval.c
parent10a4b0e6df1e33e2f2f4be43dc1c4af8098f0fb0 (diff)
downloadcpython-7c1e347f73b47eda09fbf33c37415621fe98566f.zip
cpython-7c1e347f73b47eda09fbf33c37415621fe98566f.tar.gz
cpython-7c1e347f73b47eda09fbf33c37415621fe98566f.tar.bz2
Reformat long lines.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index b0617a2..3a87052 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4115,7 +4115,8 @@ build_class(PyObject *methods, PyObject *bases, PyObject *name)
metaclass = (PyObject *) &PyClass_Type;
Py_INCREF(metaclass);
}
- result = PyObject_CallFunctionObjArgs(metaclass, name, bases, methods, NULL);
+ result = PyObject_CallFunctionObjArgs(metaclass, name, bases, methods,
+ NULL);
Py_DECREF(metaclass);
if (result == NULL && PyErr_ExceptionMatches(PyExc_TypeError)) {
/* A type error here likely means that the user passed
@@ -4129,7 +4130,8 @@ build_class(PyObject *methods, PyObject *bases, PyObject *name)
if (PyString_Check(pvalue)) {
PyObject *newmsg;
newmsg = PyString_FromFormat(
- "Error when calling the metaclass bases\n %s",
+ "Error when calling the metaclass bases\n"
+ " %s",
PyString_AS_STRING(pvalue));
if (newmsg != NULL) {
Py_DECREF(pvalue);