diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-01-23 19:36:54 +0000 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-01-23 19:36:54 +0000 |
commit | 8fa7954e4ef26dcf377019236cc2171fb8be8355 (patch) | |
tree | a1e6fd2f3384fb9656a70174a65ea0a04ffd4861 /Python/frozenmain.c | |
parent | a2f7d2bf741a71f23cbf154cc292e610086f431f (diff) | |
parent | c8962fe46dc4b0bfa761087a8e095e0fb001fb34 (diff) | |
download | cpython-8fa7954e4ef26dcf377019236cc2171fb8be8355.tar.gz |
Closes #23202: pyvenv documentation updated to match its behavior.
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index 55d05fc26f..cb84ed5f24 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -52,7 +52,7 @@ Py_FrozenMain(int argc, char **argv) setlocale(LC_ALL, ""); for (i = 0; i < argc; i++) { - argv_copy[i] = _Py_char2wchar(argv[i], NULL); + argv_copy[i] = Py_DecodeLocale(argv[i], NULL); argv_copy2[i] = argv_copy[i]; if (!argv_copy[i]) { fprintf(stderr, "Unable to decode the command line argument #%i\n", |