mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
make sure to initialize the method wrapper type
This commit is contained in:
parent
a762285831
commit
eff61f6927
3 changed files with 7 additions and 6 deletions
|
@ -1625,6 +1625,9 @@ _Py_ReadyTypes(void)
|
|||
if (PyType_Ready(&PyWrapperDescr_Type) < 0)
|
||||
Py_FatalError("Can't initialize wrapper type");
|
||||
|
||||
if (PyType_Ready(&_PyMethodWrapper_Type) < 0)
|
||||
Py_FatalError("Can't initialize method wrapper type");
|
||||
|
||||
if (PyType_Ready(&PyEllipsis_Type) < 0)
|
||||
Py_FatalError("Can't initialize ellipsis type");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue