diff Python/compile.c @ 50830:e158c70511fe legacy-trunk

#4077: No need to append \n when calling Py_FatalError + fix a declaration to make it match the one in pythonrun.h
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Sat, 17 Jan 2009 20:18:59 +0000
parents 93da9f14e5b5
children bc92d83e5508
line wrap: on
line diff
--- a/Python/compile.c	Sat Jan 17 17:11:50 2009 +0000
+++ b/Python/compile.c	Sat Jan 17 20:18:59 2009 +0000
@@ -1254,7 +1254,7 @@
 	    char buf[350];
 	    PyOS_snprintf(buf, sizeof(buf),
 			  "unknown scope for %.100s in %.100s(%s) in %s\n"
-			  "symbols: %s\nlocals: %s\nglobals: %s\n",
+			  "symbols: %s\nlocals: %s\nglobals: %s",
 			  PyString_AS_STRING(name), 
 			  PyString_AS_STRING(c->u->u_name), 
 			  PyObject_REPR(c->u->u_ste->ste_id),