diff options
author | Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | 2022-06-10 12:39:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 12:39:02 +0200 |
commit | a87c9b538fbfc42883417c4d5e69f1a5922690e3 (patch) | |
tree | fc308cabcf5550ca66d7075aea9a0e2de1589523 /Objects/listobject.c | |
parent | d8395eb38d3d05f74a7f348da81a280ad272b8c8 (diff) | |
download | cpython-a87c9b538fbfc42883417c4d5e69f1a5922690e3.tar.gz cpython-a87c9b538fbfc42883417c4d5e69f1a5922690e3.zip |
gh-90763: Modernise xx template module initialisation (#93078)
Use C APIs such as PyModule_AddType instead of PyModule_AddObject.
Also remove incorrect module decrefs if module fails to initialise.
Diffstat (limited to 'Objects/listobject.c')
0 files changed, 0 insertions, 0 deletions