commit | 83d52044ae4def1e8611a4b1b9263b850ca5c458 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Mon Dec 14 22:40:40 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Dec 14 22:40:40 2020 +0100 |
tree | cdc3b90536390556290ca0fc2f12ea54a0135289 | |
parent | fdb9efce6ac211f973088eef508740c3fa2bd182 [diff] |
bpo-42639: Cleanup atexitmodule.c (GH-23770) * Rename "atexitmodule_state" to "struct atexit_state". * Rename "modstate" to "state". * Rename "self" parameter to "module". * test_atexit uses textwrap.dedent(). * Remove _Py_PyAtExit() function: inline it into atexit_exec(). * PyInterpreterState: rename pyexitfunc to atexit_func, rename pyexitmodule to atexit_module.