mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
#4077: No need to append \n when calling Py_FatalError
+ fix a declaration to make it match the one in pythonrun.h
This commit is contained in:
parent
bd55c52565
commit
59ce042766
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue