Skip to content

Commit 0c88f41

Browse files
[3.12] gh-131818: Add imply -P in -I's help message (GH-131819) (#131823)
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 b2dbc4f commit 0c88f41

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

0 commit comments

Comments
 (0)