]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 2 Dec 2020 22:01:23 +0000 (14:01 -0800)
committerGitHub <noreply@github.com>
Wed, 2 Dec 2020 22:01:23 +0000 (14:01 -0800)
(cherry picked from commit 99b594404d364b363c184f48338d6ee81bee26dd)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Python/initconfig.c

index e882a1fba539679ccc28aeab0fdc407ebb56f9a6..3caed385ef6af5b9bf86ff8184151def31c7cedd 100644 (file)
@@ -42,7 +42,8 @@ Options and arguments (and corresponding environment variables):\n\
          and comparing bytes/bytearray with str. (-bb: issue errors)\n\
 -B     : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x\n\
 -c cmd : program passed in as string (terminates option list)\n\
--d     : debug output from parser; also PYTHONDEBUG=x\n\
+-d     : turn on parser debugging output (for experts only, only works on\n\
+         debug builds); also PYTHONDEBUG=x\n\
 -E     : ignore PYTHON* environment variables (such as PYTHONPATH)\n\
 -h     : print this help message and exit (also --help)\n\
 ";