From: Carl Meyer Date: Sat, 19 May 2018 22:48:22 +0000 (-0600) Subject: Fix typo in error message when decoding PYTHONPATH. (GH-6981) X-Git-Tag: v3.8.0a1~1806 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4857543a090c6c1ad20e935b2d7e88bbf2cbcc01;p=python Fix typo in error message when decoding PYTHONPATH. (GH-6981) --- diff --git a/Modules/main.c b/Modules/main.c index f6b5104300..9cbb3f1ce0 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -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;