[Python-checkins] cpython (3.3): #17714: document that the base64 codec adds a trailing newline.

ezio.melotti python-checkins at python.org
Tue May 7 10:21:34 CEST 2013


http://hg.python.org/cpython/rev/cbb23e40e0d7
changeset:   83668:cbb23e40e0d7
branch:      3.3
parent:      83665:5dd076d441ec
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Tue May 07 11:14:27 2013 +0300
summary:
  #17714: document that the base64 codec adds a trailing newline.

files:
  Doc/library/codecs.rst |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -1194,7 +1194,9 @@
 | 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                 |

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list