diff options
author | Victor Stinner <vstinner@python.org> | 2021-04-11 23:57:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 23:57:09 +0200 |
commit | 53114ffef1d4facf9aa5545e711abbbda66f672a (patch) | |
tree | 5259e5d70dd3c5ca15628bdfe0e011a553e948e6 /Lib/test/test_pydoc.py | |
parent | b38601d49675d90e1ee6faa47f7adaeca992d02d (diff) | |
download | cpython-53114ffef1d4facf9aa5545e711abbbda66f672a.tar.gz cpython-53114ffef1d4facf9aa5545e711abbbda66f672a.zip |
bpo-43770: Refactor PyType_Ready() function (GH-25336)
* Split PyType_Ready() into sub-functions.
* type_ready_mro() now checks if bases are static types earlier.
* Check tp_name earlier, in type_ready_checks().
* Add _PyType_IsReady() macro to check if a type is ready.
Diffstat (limited to 'Lib/test/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions