summaryrefslogtreecommitdiff
path: root/Doc/using/cmdline.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-20 16:54:57 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-20 16:54:57 +0200
commit7e374393fe99d61995610e69395255025fa5dc5a (patch)
tree6f099b6b1157986282661b1837aa58f3070779a7 /Doc/using/cmdline.rst
parentb434c3c0f013c5d07d25f8db76a84321e16edde3 (diff)
downloadcpython-7e374393fe99d61995610e69395255025fa5dc5a.tar.gz
Issue #23681: The -b option now affects comparisons of bytes with int.
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r--Doc/using/cmdline.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 4017ce897c..f52afa0229 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -190,9 +190,12 @@ 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