[docs] [issue19548] 'codecs' module docs improvements
Jan Kaliszewski
report at bugs.python.org
Mon Nov 11 02:56:00 CET 2013
Jan Kaliszewski added the comment:
8. Again ad `codecs.open`: the default file mode is actually 'rb', not 'r'.
9. Several places in the docs -- ad: `codecs.register_error`, `codecs.open`, `codecs.EncodedFile`, `Codec.encode/decode`, `codecs.StreamWriter/StreamReader` -- do not cover cases of using bytes-to-bytes and/or str-to-str encodings (especially when using `string`/`bytes` and `text`/`binary` terms).
10. `codecs.replace_errors` -- `bytestring` should be replaced with `bytes-like object` (as in other places).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19548>
_______________________________________
More information about the docs
mailing list