diff Python/ast.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 57b5c4639a5d
children 16759f62eb22
line wrap: on
line diff
--- a/Python/ast.c	Sat Jan 17 17:11:50 2009 +0000
+++ b/Python/ast.c	Sat Jan 17 20:18:59 2009 +0000
@@ -197,7 +197,7 @@
         default: {
             char buf[128];
 
-            sprintf(buf, "Non-statement found: %d %d\n",
+            sprintf(buf, "Non-statement found: %d %d",
                     TYPE(n), NCH(n));
             Py_FatalError(buf);
         }