[docs] [issue30134] BytesWarning is missing from the documents

Serhiy Storchaka report at bugs.python.org
Sat Apr 22 00:41:59 EDT 2017


Serhiy Storchaka added the comment:

BytesWarning should be added in the table in warnings.rst (and check that all other built-in warning categories are in this table). It is worth to mention the -b option.

And I think the docstring of BytesWarning should be corrected. "Unicode" should be used rather that "str" since str and bytes is the same in 2.7.

----------
nosy: +benjamin.peterson, r.david.murray, serhiy.storchaka
stage:  -> patch review
type:  -> enhancement

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


More information about the docs mailing list