mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
make errors consistent
This commit is contained in:
parent
308c6ba002
commit
8cfa8e613f
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue