]> git.ipfire.org Git - thirdparty/Python/cpython.git/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 ce850f6c06773aecd67abdd393a7c36fbc6daad2..460af13d33e13a55ddd09e96c0ff39211d45b4af 100644 (file)
@@ -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                 |