Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4857543

Browse files
carljmned-deily
authored andcommitted
Fix typo in error message when decoding PYTHONPATH. (GH-6981)
1 parent 654038d commit 4857543

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ config_read_env_vars(_PyCoreConfig *config)
18311831
wchar_t *path;
18321832
int res = config_get_env_var_dup(&path, L"PYTHONPATH", "PYTHONPATH");
18331833
if (res < 0) {
1834-
return DECODE_LOCALE_ERR("PYTHONHOME", res);
1834+
return DECODE_LOCALE_ERR("PYTHONPATH", res);
18351835
}
18361836
config->module_search_path_env = path;
18371837

0 commit comments

Comments
 (0)