summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-22 17:55:48 (GMT)
committerGitHub <noreply@github.com>2022-01-22 17:55:48 (GMT)
commit500c146387b01ea797b52e6a54caf228384e184c (patch)
treeb10c015f37540da45ed534d0b4f9711c12a19f3e /Python/bltinmodule.c
parent1f8014c5b4ea7acee069ca453f6fbcad5990ebf0 (diff)
downloadcpython-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/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index ecd8be1..ed61209 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -2986,11 +2986,6 @@ _PyBuiltin_Init(PyInterpreterState *interp)
const PyConfig *config = _PyInterpreterState_GetConfig(interp);
- if (PyType_Ready(&PyFilter_Type) < 0 ||
- PyType_Ready(&PyMap_Type) < 0 ||
- PyType_Ready(&PyZip_Type) < 0)
- return NULL;
-
mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
if (mod == NULL)
return NULL;