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

ezio.melotti python-checkins at python.org
Tue May 7 10:14:39 CEST 2013


http://hg.python.org/cpython/rev/8b764c3521fa
changeset:   83667:8b764c3521fa
branch:      2.7
parent:      83664:63f2941477d3
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
@@ -1113,7 +1113,9 @@
 | 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                 |

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


More information about the Python-checkins mailing list