Kaydet (Commit) 6414da93 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Ned Deily

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

(cherry picked from commit 4857543a)
Co-authored-by: 's avatarCarl Meyer <carl@oddbird.net>
üst 0efa1353
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment