Skip to content

Commit 9b34f34

Browse files
bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)
(cherry picked from commit 99b5944) Co-authored-by: Pablo Galindo <[email protected]>
1 parent ed46143 commit 9b34f34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/initconfig.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Options and arguments (and corresponding environment variables):\n\
4242
and comparing bytes/bytearray with str. (-bb: issue errors)\n\
4343
-B : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x\n\
4444
-c cmd : program passed in as string (terminates option list)\n\
45-
-d : debug output from parser; also PYTHONDEBUG=x\n\
45+
-d : turn on parser debugging output (for experts only, only works on\n\
46+
debug builds); also PYTHONDEBUG=x\n\
4647
-E : ignore PYTHON* environment variables (such as PYTHONPATH)\n\
4748
-h : print this help message and exit (also --help)\n\
4849
";

0 commit comments

Comments
 (0)