diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-03-13 13:03:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 13:03:13 (GMT) |
commit | 33662d4e01d73cd4f29a25efc2ef09288129023f (patch) | |
tree | f27d01f131d8831100a05ab6f8920159dc4e6db8 /Python/initconfig.c | |
parent | 617aca9e745b3dfb5e6bc8cda07632d2f716426d (diff) | |
download | cpython-33662d4e01d73cd4f29a25efc2ef09288129023f.zip cpython-33662d4e01d73cd4f29a25efc2ef09288129023f.tar.gz cpython-33662d4e01d73cd4f29a25efc2ef09288129023f.tar.bz2 |
gh-90300: Fix cmdline.rst (GH-116721)
* Fix the description of the "-b" option.
* Add references to environment variables for "-s" and "-X dev" options.
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r-- | Python/initconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c index e3a62e5..a01a9f5 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -142,8 +142,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\ |