summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-05-07 08:14:27 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-05-07 08:14:27 (GMT)
commitc58a3ea72c6dd315e6a3a283168832fb06b8e69d (patch)
tree76d70a800ef062c6796c42b5a69895e25991bdaf /Doc/library/codecs.rst
parent9c939bceeb0074bfc177041daaee75d8da5d1676 (diff)
downloadcpython-c58a3ea72c6dd315e6a3a283168832fb06b8e69d.zip
cpython-c58a3ea72c6dd315e6a3a283168832fb06b8e69d.tar.gz
cpython-c58a3ea72c6dd315e6a3a283168832fb06b8e69d.tar.bz2
#17714: document that the base64 codec adds a trailing newline.
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 9e1a9c7..87c2b39 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 |