mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.
This commit is contained in:
parent
2da0fceba7
commit
aed6c66aa8
5 changed files with 45 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue