[docs] [issue11681] -b option undocumented

Martin Panter report at bugs.python.org
Sun Jun 8 01:43:16 CEST 2014


Martin Panter added the comment:

Trouble is, in Python 2 bytes() and str() are the same thing, and most of those conditions don’t apply. Maybe something like this is more correct:

-b     : issue warnings about comparing bytearray with unicode.
         (-bb: issue errors)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11681>
_______________________________________


More information about the docs mailing list