From: Ezio Melotti Date: Tue, 7 May 2013 08:14:27 +0000 (+0300) Subject: #17714: document that the base64 codec adds a trailing newline. X-Git-Tag: v2.7.5~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59391207c65aaae08179d299252a93e05056cebb;p=thirdparty%2FPython%2Fcpython.git #17714: document that the base64 codec adds a trailing newline. --- diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index ce850f6c0677..460af13d33e1 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1113,7 +1113,9 @@ the table. | Codec | Aliases | Operand type | Purpose | +====================+===========================+================+===========================+ | base64_codec | base64, base-64 | byte string | Convert operand to MIME | -| | | | base64 | +| | | | base64 (the result always | +| | | | includes a trailing | +| | | | ``'\n'``) | +--------------------+---------------------------+----------------+---------------------------+ | bz2_codec | bz2 | byte string | Compress the operand | | | | | using bz2 |