bpo-43770: Cleanup _PyObject_GetMethod() (GH-26946)
_PyObject_GetMethod() now uses _PyType_IsReady() to decide if PyType_Ready() must be called or not, rather than testing if tp->tp_dict is NULL. Move also variable declarations closer to where they are used, and use Py_NewRef().
V
Victor Stinner committed
dd3adc013b21ec1338bb5fea2e2c04a4fc650306
Parent: c8979f7
Committed by GitHub <noreply@github.com>
on 7/1/2021, 1:11:59 AM