Commit 8c084eb7 authored by Gregory P. Smith's avatar Gregory P. Smith

merge head

parents 0212c4dc 2b4f47ee
...@@ -55,8 +55,10 @@ The :mod:`binascii` module defines the following functions: ...@@ -55,8 +55,10 @@ The :mod:`binascii` module defines the following functions:
.. function:: b2a_base64(data) .. function:: b2a_base64(data)
Convert binary data to a line of ASCII characters in base64 coding. The return 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* value is the converted line, including a newline char. The newline is
should be at most 57 to adhere to the base64 standard. 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) .. function:: a2b_qp(data, header=False)
...@@ -168,7 +170,8 @@ The :mod:`binascii` module defines the following functions: ...@@ -168,7 +170,8 @@ The :mod:`binascii` module defines the following functions:
.. seealso:: .. seealso::
Module :mod:`base64` 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` Module :mod:`binhex`
Support for the binhex format used on the Macintosh. Support for the binhex format used on the Macintosh.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment