diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-13 15:12:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 15:12:45 (GMT) |
commit | 410b85a7f701be280eb15b0ca4fe116e86f1d008 (patch) | |
tree | d0b5d095a2cdc536798eb3780ccc14811a5bebb6 /Python/pylifecycle.c | |
parent | 2c10538d11fa9be9a1a9f21605861e10ec4fa207 (diff) | |
download | cpython-410b85a7f701be280eb15b0ca4fe116e86f1d008.zip cpython-410b85a7f701be280eb15b0ca4fe116e86f1d008.tar.gz cpython-410b85a7f701be280eb15b0ca4fe116e86f1d008.tar.bz2 |
bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278)
Move _PyImportZip_Init() to the internal C API and add an 'interp'
parameter.
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 de8595c..014b19a 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -205,7 +205,7 @@ init_importlib_external(PyInterpreterState *interp) return _Py_INIT_ERR("external importer setup failed"); } Py_DECREF(value); - return _PyImportZip_Init(); + return _PyImportZip_Init(interp); } /* Helper functions to better handle the legacy C locale |