summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-21 02:52:43 +0100
committerGitHub <noreply@github.com>2022-01-21 02:52:43 +0100
commit17f268a4ae6190b2659c89c6f32ad2d006e0e3c8 (patch)
treea823df3bef317346fdd1ae1fdc5b5095ad31133e /Python/errors.c
parentf389b37fb1cebe7ed66331cdd373a014695261f6 (diff)
downloadcpython-git-17f268a4ae6190b2659c89c6f32ad2d006e0e3c8.tar.gz
bpo-46417: time module uses PyStructSequence_NewType() (GH-30734)
The time module now creates its struct_time type as a heap type using PyStructSequence_NewType(), rather than using a static type. * Add a module state to the time module: add traverse, clear and free functions. * Use PyModule_AddType(). * Remove the 'initialized' variable.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions