summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-03-13 13:46:58 (GMT)
committerGitHub <noreply@github.com>2024-03-13 13:46:58 (GMT)
commit89b5c5e321d84dfe5716b5b7eaa5dbda497301be (patch)
treea19c5f5c95d88207373889d19ed7bdec0d144acc /Python/initconfig.c
parentfc81b6497b0f0025caa3a184164bc983b985609c (diff)
downloadcpython-89b5c5e321d84dfe5716b5b7eaa5dbda497301be.zip
cpython-89b5c5e321d84dfe5716b5b7eaa5dbda497301be.tar.gz
cpython-89b5c5e321d84dfe5716b5b7eaa5dbda497301be.tar.bz2
[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 33662d4e01d73cd4f29a25efc2ef09288129023f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r--Python/initconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index eeb76cc..3cfb39b 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -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\