summaryrefslogtreecommitdiffstats
path: root/Python/pathconfig.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-05 01:44:12 (GMT)
committerGitHub <noreply@github.com>2019-03-05 01:44:12 (GMT)
commit6dcb54228e7520abd058897440c26e323f62afcd (patch)
tree44c513ae0de0ecbf63609bb3b61bbc41806ce156 /Python/pathconfig.c
parentcad1f747da47849ab5d8b0b881f7a0b94564d290 (diff)
downloadcpython-6dcb54228e7520abd058897440c26e323f62afcd.zip
cpython-6dcb54228e7520abd058897440c26e323f62afcd.tar.gz
cpython-6dcb54228e7520abd058897440c26e323f62afcd.tar.bz2
bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173)
The new function is now responsible to parse -E and -I command line arguments.
Diffstat (limited to 'Python/pathconfig.c')
-rw-r--r--Python/pathconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pathconfig.c b/Python/pathconfig.c
index 41fc9e2..14dbba7 100644
--- a/Python/pathconfig.c
+++ b/Python/pathconfig.c
@@ -393,7 +393,7 @@ pathconfig_global_init(void)
_PyInitError err;
_PyCoreConfig config = _PyCoreConfig_INIT;
- err = _PyCoreConfig_Read(&config);
+ err = _PyCoreConfig_Read(&config, NULL);
if (_Py_INIT_FAILED(err)) {
goto error;
}