diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-01 21:08:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 21:08:34 (GMT) |
commit | 59bc36aacddd5a3acd32c80c0dfd0726135a7817 (patch) | |
tree | 820c3ab005019714344dadf0f10fa9c359ea30c7 /Python/sysmodule.c | |
parent | d448fcb0323bf00cb4ff4a1e65e8424a73b5f0d4 (diff) | |
download | cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.zip cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.gz cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.bz2 |
gh-84436: Immortalize in _PyStructSequence_InitBuiltinWithFlags() (gh-104054)
This also does some cleanup.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index d673e40..81dabe6 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -3492,13 +3492,13 @@ void _PySys_Fini(PyInterpreterState *interp) { if (_Py_IsMainInterpreter(interp)) { - _PyStructSequence_FiniType(&VersionInfoType); - _PyStructSequence_FiniType(&FlagsType); + _PyStructSequence_FiniBuiltin(&VersionInfoType); + _PyStructSequence_FiniBuiltin(&FlagsType); #if defined(MS_WINDOWS) - _PyStructSequence_FiniType(&WindowsVersionType); + _PyStructSequence_FiniBuiltin(&WindowsVersionType); #endif - _PyStructSequence_FiniType(&Hash_InfoType); - _PyStructSequence_FiniType(&AsyncGenHooksType); + _PyStructSequence_FiniBuiltin(&Hash_InfoType); + _PyStructSequence_FiniBuiltin(&AsyncGenHooksType); #ifdef __EMSCRIPTEN__ Py_CLEAR(EmscriptenInfoType); #endif |