diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-01 00:30:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 00:30:12 (GMT) |
commit | 5f38b8407b071acd96da2c8cde411d0e26967735 (patch) | |
tree | cac8a6046fcef2a6b0f1efb56714c4750c90bdb6 /Python/pathconfig.c | |
parent | 463b82a3efe8a6a9f3924a5b37482e961dffe3b8 (diff) | |
download | cpython-5f38b8407b071acd96da2c8cde411d0e26967735.zip cpython-5f38b8407b071acd96da2c8cde411d0e26967735.tar.gz cpython-5f38b8407b071acd96da2c8cde411d0e26967735.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pathconfig.c b/Python/pathconfig.c index 10e141a..7fea7c3 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; } |