diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-22 17:55:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 17:55:48 (GMT) |
commit | 500c146387b01ea797b52e6a54caf228384e184c (patch) | |
tree | b10c015f37540da45ed534d0b4f9711c12a19f3e /Python/pylifecycle.c | |
parent | 1f8014c5b4ea7acee069ca453f6fbcad5990ebf0 (diff) | |
download | cpython-500c146387b01ea797b52e6a54caf228384e184c.zip cpython-500c146387b01ea797b52e6a54caf228384e184c.tar.gz cpython-500c146387b01ea797b52e6a54caf228384e184c.tar.bz2 |
bpo-46417: Clear more static types (GH-30796)
* Move PyContext static types into object.c static_types list.
* Rename PyContextTokenMissing_Type to _PyContextTokenMissing_Type
and declare it in pycore_context.h.
* _PyHamtItems types are no long exported: replace PyAPI_DATA() with
extern.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 662e578..a53f532 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -760,7 +760,7 @@ pycore_init_types(PyInterpreterState *interp) return status; } - status = _PyContext_InitTypes(interp); + status = _PyContext_Init(interp); if (_PyStatus_EXCEPTION(status)) { return status; } |