]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-131818: Add imply `-P` in `-I`'s help message (#131819)
authorHang <bebound@gmail.com>
Fri, 28 Mar 2025 07:49:13 +0000 (15:49 +0800)
committerGitHub <noreply@github.com>
Fri, 28 Mar 2025 07:49:13 +0000 (08:49 +0100)
Python/initconfig.c

index f73fbe76a965075569bc203793b3e28b5e0706ce..bc48ebd61f28372e2e8d5a898da5f272eaeffe16 100644 (file)
@@ -261,7 +261,7 @@ Options (and corresponding environment variables):\n\
 -h     : print this help message and exit (also -? or --help)\n\
 -i     : inspect interactively after running script; forces a prompt even\n\
          if stdin does not appear to be a terminal; also PYTHONINSPECT=x\n\
--I     : isolate Python from the user's environment (implies -E and -s)\n\
+-I     : isolate Python from the user's environment (implies -E, -P and -s)\n\
 -m mod : run library module as a script (terminates option list)\n\
 -O     : remove assert and __debug__-dependent statements; add .opt-1 before\n\
          .pyc extension; also PYTHONOPTIMIZE=x\n\