diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-09-12 17:46:20 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-09-12 17:46:20 +0300 |
commit | 2e6941426497c8925e0fbf76f9eb17f355ddc65c (patch) | |
tree | 6c7801e31dee25f570b9cfb068d89237b4a16f87 /Doc/using/cmdline.rst | |
parent | 861244d94dcc973600ebcf241d5a75f94b8cdd26 (diff) | |
parent | f077bb76b4b2a3a4cca36f4e5c923eb8393e23d7 (diff) | |
download | cpython-2e6941426497c8925e0fbf76f9eb17f355ddc65c.tar.gz |
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r-- | Doc/using/cmdline.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index a46349bcde..c7210a0134 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -190,13 +190,16 @@ Miscellaneous options .. cmdoption:: -b - Issue a warning when comparing str and bytes. Issue an error when the + Issue a warning when comparing :class:`bytes` or :class:`bytearray` with + :class:`str` or :class:`bytes` with :class:`int`. Issue an error when the option is given twice (:option:`-bb`). + .. versionchanged: 3.5 + Affects comparisons of :class:`bytes` with :class:`int`. .. cmdoption:: -B - If given, Python won't try to write ``.pyc`` or ``.pyo`` files on the + If given, Python won't try to write ``.pyc`` files on the import of source modules. See also :envvar:`PYTHONDONTWRITEBYTECODE`. |