[docs] [issue19548] 'codecs' module docs improvements

Martin Panter report at bugs.python.org
Mon Dec 22 12:51:15 CET 2014


Martin Panter added the comment:

Adding patch v2 after learning how to compile the docs and fixing my errors. I also simplified the descriptions of the CodecInfo attributes by defering the constructor signatures to where they are fully defined under “Codec base classes”, and merged the list of error handlers there as well.

A side effect of merging error handler lists is that “surrogatepass” is now defined for codecs in general, not just Codec.encode() and decode().

Also I noticed that “unicode_escape” actually does Latin-1 decoding.

----------
Added file: http://bugs.python.org/file37525/codecs-doc.v2.patch

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


More information about the docs mailing list