mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue