summaryrefslogtreecommitdiffstats
path: root/Lib/_pyio.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-07-01 01:11:59 (GMT)
committerGitHub <noreply@github.com>2021-07-01 01:11:59 (GMT)
commitdd3adc013b21ec1338bb5fea2e2c04a4fc650306 (patch)
treeac19cecda575162fbb0fbe4a7ea2c5bf079d57c8 /Lib/_pyio.py
parentc8979f780e4b7d6db5693cb26a2956cc785abb48 (diff)
downloadcpython-dd3adc013b21ec1338bb5fea2e2c04a4fc650306.zip
cpython-dd3adc013b21ec1338bb5fea2e2c04a4fc650306.tar.gz
cpython-dd3adc013b21ec1338bb5fea2e2c04a4fc650306.tar.bz2
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().
Diffstat (limited to 'Lib/_pyio.py')
0 files changed, 0 insertions, 0 deletions