Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.

In 3.6 the parameter to control the appending of the newline was finally
added, so I dropped the historical note about why a new line was always
appended.
This commit is contained in:
R David Murray 2015-12-13 18:11:07 -05:00
commit d991963a9d
1 changed files with 3 additions and 4 deletions

View File

@ -56,9 +56,7 @@ The :mod:`binascii` module defines the following functions:
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 if *newline* is value is the converted line, including a newline char if *newline* is
true. The length of *data* should be at most 57 to adhere to the true. The output of this function conforms to :rfc:`3548`.
base64 standard.
.. versionchanged:: 3.6 .. versionchanged:: 3.6
Added the *newline* parameter. Added the *newline* parameter.
@ -172,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.