summaryrefslogtreecommitdiff
path: root/Python/pathconfig.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-01 02:30:12 +0200
committerGitHub <noreply@github.com>2019-05-01 02:30:12 +0200
commit5f38b8407b071acd96da2c8cde411d0e26967735 (patch)
treecac8a6046fcef2a6b0f1efb56714c4750c90bdb6 /Python/pathconfig.c
parent463b82a3efe8a6a9f3924a5b37482e961dffe3b8 (diff)
downloadcpython-git-5f38b8407b071acd96da2c8cde411d0e26967735.tar.gz
bpo-36763: Add _PyCoreConfig_SetArgv() (GH-13030)
* Add 2 new config methods: * _PyCoreConfig_SetArgv() * _PyCoreConfig_SetWideArgv() * Add also an internal _PyCoreConfig_SetPyArgv() method. * Remove 'args' parameter from _PyCoreConfig_Read().
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 10e141a47d..7fea7c3667 100644
--- a/Python/pathconfig.c
+++ b/Python/pathconfig.c
@@ -394,7 +394,7 @@ pathconfig_global_init(void)
_PyInitError err;
_PyCoreConfig config = _PyCoreConfig_INIT;
- err = _PyCoreConfig_Read(&config, NULL);
+ err = _PyCoreConfig_Read(&config);
if (_Py_INIT_FAILED(err)) {
goto error;
}