From: Ezio Melotti <ezio.melotti@gmail.com>
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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c58a3ea72c6dd315e6a3a283168832fb06b8e69d;p=python

#17714: document that the base64 codec adds a trailing newline.
---

diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 9e1a9c744a..87c2b39f69 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                 |