]> granicus.if.org Git - python/commitdiff
#17714: document that the base64 codec adds a trailing newline.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 7 May 2013 08:14:27 +0000 (11:14 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 7 May 2013 08:14:27 +0000 (11:14 +0300)
Doc/library/codecs.rst

index 9e1a9c744a07b6ae790fe7b486026a49b91e1c1d..87c2b39f690e35060329d70c24a9f17449f388bf 100644 (file)
@@ -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                 |