mirror of https://github.com/python/cpython
Browse Source
PyType_Ready() now ensures that a type MRO cannot be empty. _PyType_GetModuleByDef() no longer checks "i < PyTuple_GET_SIZE(mro)" at the first loop iteration to optimize the most common case, when the argument is the defining class.pull/25507/head
committed by
GitHub
1 changed files with 21 additions and 5 deletions
Loading…
Reference in new issue