Fix typo in error message when decoding PYTHONPATH. (GH-6981) (GH-6993)

(cherry picked from commit 4857543a09)

Co-authored-by: Carl Meyer <carl@oddbird.net>
This commit is contained in:
Miss Islington (bot) 2018-05-19 16:14:42 -07:00 committed by Ned Deily
parent 0efa1353b7
commit 6414da93ed
1 changed files with 1 additions and 1 deletions

View File

@ -1831,7 +1831,7 @@ config_read_env_vars(_PyCoreConfig *config)
wchar_t *path;
int res = config_get_env_var_dup(&path, L"PYTHONPATH", "PYTHONPATH");
if (res < 0) {
return DECODE_LOCALE_ERR("PYTHONHOME", res);
return DECODE_LOCALE_ERR("PYTHONPATH", res);
}
config->module_search_path_env = path;