Kaydet (Commit) 8cfa8e61 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

make errors consistent

üst 308c6ba0
...@@ -2052,10 +2052,10 @@ _Py_ReadyTypes(void) ...@@ -2052,10 +2052,10 @@ _Py_ReadyTypes(void)
Py_FatalError("Can't initialize str type"); Py_FatalError("Can't initialize str type");
if (PyType_Ready(&PyByteArray_Type) < 0) 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) 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) if (PyType_Ready(&PyNone_Type) < 0)
Py_FatalError("Can't initialize None type"); Py_FatalError("Can't initialize None type");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment