patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.

This commit is contained in:
Georg Brandl 2008-01-07 17:25:53 +00:00
parent 2da0fceba7
commit aed6c66aa8
5 changed files with 45 additions and 5 deletions

View file

@ -79,7 +79,7 @@ void
PyThread_init_thread(void)
{
#ifdef Py_DEBUG
char *p = getenv("THREADDEBUG");
char *p = Py_GETENV("PYTHONTHREADDEBUG");
if (p) {
if (*p)