mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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
|
|
@ -2127,7 +2127,7 @@ _PyExc_Init(void)
|
|||
|
||||
PyExc_MemoryErrorInst = BaseException_new(&_PyExc_MemoryError, NULL, NULL);
|
||||
if (!PyExc_MemoryErrorInst)
|
||||
Py_FatalError("Cannot pre-allocate MemoryError instance\n");
|
||||
Py_FatalError("Cannot pre-allocate MemoryError instance");
|
||||
|
||||
PyExc_RecursionErrorInst = BaseException_new(&_PyExc_RuntimeError, NULL, NULL);
|
||||
if (!PyExc_RecursionErrorInst)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue