diff Python/thread.c @ 44569:132d908471c8 legacy-trunk

patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.
author Georg Brandl <georg@python.org>
date Mon, 07 Jan 2008 17:25:53 +0000
parents 7c09b66f04bd
children db99f8752710
line wrap: on
line diff
--- a/Python/thread.c	Mon Jan 07 17:09:35 2008 +0000
+++ b/Python/thread.c	Mon Jan 07 17:25:53 2008 +0000
@@ -79,7 +79,7 @@
 PyThread_init_thread(void)
 {
 #ifdef Py_DEBUG
-	char *p = getenv("THREADDEBUG");
+	char *p = Py_GETENV("PYTHONTHREADDEBUG");
 
 	if (p) {
 		if (*p)