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: v3.3.2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c58a3ea72c6dd315e6a3a283168832fb06b8e69d;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 9e1a9c744a07..87c2b39f690e 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1194,7 +1194,9 @@ The following codecs provide bytes-to-bytes mappings. | Codec | Aliases | Purpose | +====================+===========================+===========================+ | base64_codec | base64, base-64 | Convert operand to MIME | -| | | base64 | +| | | base64 (the result always | +| | | includes a trailing | +| | | ``'\n'``) | +--------------------+---------------------------+---------------------------+ | bz2_codec | bz2 | Compress the operand | | | | using bz2 |