From: Benjamin Peterson Date: Sun, 19 Apr 2009 02:40:43 +0000 (+0000) Subject: make errors consistent X-Git-Tag: v2.7a1~1452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cfa8e613f34c24914f06c0da9d283d573c54b5b;p=python make errors consistent --- diff --git a/Objects/object.c b/Objects/object.c index 5c7f0fb609..6254dfa0e5 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -2052,10 +2052,10 @@ _Py_ReadyTypes(void) Py_FatalError("Can't initialize str type"); if (PyType_Ready(&PyByteArray_Type) < 0) - Py_FatalError("Can't initialize bytearray"); + Py_FatalError("Can't initialize bytearray type"); if (PyType_Ready(&PyList_Type) < 0) - Py_FatalError("Can't initialize list"); + Py_FatalError("Can't initialize list type"); if (PyType_Ready(&PyNone_Type) < 0) Py_FatalError("Can't initialize None type");