mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[3.12] gh-90300: Fix cmdline.rst (GH-116721) (GH-116724)
* Fix the description of the "-b" option.
* Add references to environment variables for "-s" and "-X dev" options.
(cherry picked from commit 33662d4e01
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
fc81b6497b
commit
89b5c5e321
2 changed files with 10 additions and 7 deletions
|
@ -33,8 +33,8 @@ static const char usage_line[] =
|
|||
/* Lines sorted by option name; keep in sync with usage_envvars* below */
|
||||
static const char usage_help[] = "\
|
||||
Options (and corresponding environment variables):\n\
|
||||
-b : issue warnings about str(bytes_instance), str(bytearray_instance)\n\
|
||||
and comparing bytes/bytearray with str. (-bb: issue errors)\n\
|
||||
-b : issue warnings about converting bytes/bytearray to str and comparing\n\
|
||||
bytes/bytearray with str or bytes with int. (-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 : turn on parser debugging output (for experts only, only works on\n\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue