[Python-checkins] cpython (merge 3.4 -> 3.4): merge head
gregory.p.smith
python-checkins at python.org
Sun Dec 13 23:15:41 EST 2015
https://hg.python.org/cpython/rev/7e7bdac6b259
changeset: 99567:7e7bdac6b259
branch: 3.4
parent: 99566:d76b9c121e61
parent: 99556:3d5bf9bd15a3
user: Gregory P. Smith <greg at krypto.org>
date: Sun Dec 13 20:06:35 2015 -0800
summary:
merge head
files:
Doc/library/binascii.rst | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst
--- a/Doc/library/binascii.rst
+++ b/Doc/library/binascii.rst
@@ -55,8 +55,10 @@
.. function:: b2a_base64(data)
Convert binary data to a line of ASCII characters in base64 coding. The return
- value is the converted line, including a newline char. The length of *data*
- should be at most 57 to adhere to the base64 standard.
+ value is the converted line, including a newline char. The newline is
+ added because the original use case for this function was to feed it a
+ series of 57 byte input lines to get output lines that conform to the
+ MIME-base64 standard. Otherwise the output conforms to :rfc:`3548`.
.. function:: a2b_qp(data, header=False)
@@ -168,7 +170,8 @@
.. seealso::
Module :mod:`base64`
- Support for base64 encoding used in MIME email messages.
+ Support for RFC compliant base64-style encoding in base 16, 32, 64,
+ and 85.
Module :mod:`binhex`
Support for the binhex format used on the Macintosh.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list