diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-01-17 20:18:59 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2009-01-17 20:18:59 +0000 |
commit | 59ce042766d95a1471b08241038b8e0f4a65743a (patch) | |
tree | 7f8bbfe954220d04dca1b138a5fe02585b243a46 /Python/ast.c | |
parent | bd55c52565d171ceb78d8f3b0f8b6cc6253e8e68 (diff) | |
download | cpython-git-59ce042766d95a1471b08241038b8e0f4a65743a.tar.gz |
#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/ast.c')
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c index 9e8df8644b..5f369b6626 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -197,7 +197,7 @@ num_stmts(const node *n) 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); } |