[Python-checkins] r53943 - python/trunk/Python/ceval.c

jeremy.hylton python-checkins at python.org
Mon Feb 26 17:14:55 CET 2007


Author: jeremy.hylton
Date: Mon Feb 26 17:14:51 2007
New Revision: 53943

Modified:
   python/trunk/Python/ceval.c
Log:
Reformat long lines.


Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c	(original)
+++ python/trunk/Python/ceval.c	Mon Feb 26 17:14:51 2007
@@ -4115,7 +4115,8 @@
 			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 @@
 		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);


More information about the Python-checkins mailing list