From c58a3ea72c6dd315e6a3a283168832fb06b8e69d Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 7 May 2013 11:14:27 +0300 Subject: [PATCH] #17714: document that the base64 codec adds a trailing newline. --- Doc/library/codecs.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 9e1a9c744a0..87c2b39f690 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 |