summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-01-17 20:18:59 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-01-17 20:18:59 (GMT)
commit59ce042766d95a1471b08241038b8e0f4a65743a (patch)
tree7f8bbfe954220d04dca1b138a5fe02585b243a46 /Objects
parentbd55c52565d171ceb78d8f3b0f8b6cc6253e8e68 (diff)
downloadcpython-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 'Objects')
-rw-r--r--Objects/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index eeebb5c..99cfb2b 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -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)