diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-01-17 20:18:59 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-01-17 20:18:59 (GMT) |
commit | 59ce042766d95a1471b08241038b8e0f4a65743a (patch) | |
tree | 7f8bbfe954220d04dca1b138a5fe02585b243a46 /Python/compile.c | |
parent | bd55c52565d171ceb78d8f3b0f8b6cc6253e8e68 (diff) | |
download | cpython-59ce042766d95a1471b08241038b8e0f4a65743a.zip cpython-59ce042766d95a1471b08241038b8e0f4a65743a.tar.gz cpython-59ce042766d95a1471b08241038b8e0f4a65743a.tar.bz2 |
#4077: No need to append \n when calling Py_FatalError
+ fix a declaration to make it match the one in pythonrun.h
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 8f0fd8d..44ced73 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1254,7 +1254,7 @@ get_ref_type(struct compiler *c, PyObject *name) 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), |