summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-07 17:25:53 +0000
committerGeorg Brandl <georg@python.org>2008-01-07 17:25:53 +0000
commitaed6c66aa8c9d1d2af9e60323e688452dfd6b6c7 (patch)
tree6abfefda54d125aa2c86b8be5cc6f4e6576308e0 /Python/import.c
parent2da0fceba7dd70334aacbab0708a8cbdff92e31d (diff)
downloadcpython-git-aed6c66aa8c9d1d2af9e60323e688452dfd6b6c7.tar.gz
patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 8094f7d477..d9550f5c68 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1630,7 +1630,7 @@ case_ok(char *buf, Py_ssize_t len, Py_ssize_t namelen, char *name)
FILEFINDBUF3 ffbuf;
APIRET rc;
- if (getenv("PYTHONCASEOK") != NULL)
+ if (Py_GETENV("PYTHONCASEOK") != NULL)
return 1;
rc = DosFindFirst(buf,