Document codecs.encode and codecs.decode (issue 17827)
http://bugs.python.org/review/17827/diff/8606/Doc/library/codecs.rst File Doc/library/codecs.rst (right): http://bugs.python.org/review/17827/diff/8606/Doc/library/codecs.rst#newcode... Doc/library/codecs.rst:27: Encodes obj using the codec registered for encoding. Errors may be given *encoding* http://bugs.python.org/review/17827/diff/8606/Doc/library/codecs.rst#newcode... Doc/library/codecs.rst:28: to set a different error handling scheme. Default is ``strict`` meaning that ``'strict'`` http://bugs.python.org/review/17827/diff/8606/Doc/library/codecs.rst#newcode... Doc/library/codecs.rst:30: ``replace`` and ``xmlcharrefreplace`` as well as any other name registered with These lines are too long. http://bugs.python.org/review/17827/diff/8606/Doc/library/codecs.rst#newcode... Doc/library/codecs.rst:31: ``codecs.register_error`` that can handle :exc:`ValueError`. I think there's already a list of valid error handlers somewhere, so you could just link to that instead of repeating them here. http://bugs.python.org/review/17827/
participants (1)
-
ezio.melotti@gmail.com