make sure to initialize the method wrapper type

This commit is contained in:
Benjamin Peterson 2011-09-01 16:32:31 -04:00
parent a762285831
commit eff61f6927
3 changed files with 7 additions and 6 deletions

View file

@ -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");