summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2018-05-19 16:48:22 -0600
committerNed Deily <nad@python.org>2018-05-19 18:48:22 -0400
commit4857543a090c6c1ad20e935b2d7e88bbf2cbcc01 (patch)
tree3c972e08b425ad2ec45e7bb12950114d710c71f9 /Modules
parent654038d896d78a8373b60184f335acd516215acd (diff)
downloadcpython-git-4857543a090c6c1ad20e935b2d7e88bbf2cbcc01.tar.gz
Fix typo in error message when decoding PYTHONPATH. (GH-6981)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/main.c2
1 files changed, 1 insertions, 1 deletions
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;