8000 [3.13] gh-131818: Add imply `-P` in `-I`'s help message (GH-131819) (… · python/cpython@5547c89 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5547c89

Browse files
[3.13] gh-131818: Add imply -P in -I's help message (GH-131819) (#131822)
gh-131818: Add imply `-P` in `-I`'s help message (GH-131819) (cherry picked from commit 8bd88e2) Co-authored-by: Hang <bebound@gmail.com>
1 parent 9118cf7 commit 5547c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/initconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Options (and corresponding environment variables):\n\
157157
-h : print this help message and exit (also -? or --help)\n\
158158
-i : inspect interactively after running script; forces a prompt even\n\
159159
if stdin does not appear to be a terminal; also PYTHONINSPECT=x\n\
160-
-I : isolate Python from the user's environment (implies -E and -s)\n\
160+
-I : isolate Python from the user's environment (implies -E, -P and -s)\n\
161161
-m mod : run library module as a script (terminates option list)\n\
162162
-O : remove assert and __debug__-dependent statements; add .opt-1 before\n\
163163
.pyc extension; also PYTHONOPTIMIZE=x\n\

0 commit comments

Comments
 (0)
0