]> granicus.if.org Git - python/commitdiff
make errors consistent
authorBenjamin Peterson <benjamin@python.org>
Sun, 19 Apr 2009 02:40:43 +0000 (02:40 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 19 Apr 2009 02:40:43 +0000 (02:40 +0000)
Objects/object.c

index 5c7f0fb6097e449c91adff6c5cb09bc1016c6cd6..6254dfa0e51158f3e158d9126779f56fec4d171e 100644 (file)
@@ -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");