[docs] [issue15588] quopri: encodestring and decodestring handle bytes, not strings

Petri Lehtinen report at bugs.python.org
Sat Aug 18 12:25:46 CEST 2012

Petri Lehtinen added the comment:

The encode() and decode() functions also expect binary file objects.

Attached a patch that changes documentation and docstrings. Removed the mentions of readline(), because read() is called on input instead, if the binascii module is available. Also removed the repeated descriptions of quotetabs and header in encodestring()'s docs.

keywords: +needs review, patch
nosy: +petri.lehtinen
stage:  -> patch review
Added file: http://bugs.python.org/file26886/issue15588.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list