https://github.com/python/cpython/commit/0c88f414b885bddc063cbfcff268e1410da9a3cc commit: 0c88f414b885bddc063cbfcff268e1410da9a3cc branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner <vstin...@python.org> date: 2025-03-28T08:09:03Z summary:
[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 8bd88e2827b2a887c2ea8e5ed0c0575704bfacdf) Co-authored-by: Hang <bebo...@gmail.com> files: M Python/initconfig.c diff --git a/Python/initconfig.c b/Python/initconfig.c index 6eb09ab8eec394..ed4c4e23f34a80 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -44,7 +44,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\ _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com