Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2b4f47ee
Commit
2b4f47ee
authored
Dec 13, 2015
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#25495: Clarify b2a_base64 documentation vis 57 bytes.
parent
abeb6479
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Doc/library/binascii.rst
Doc/library/binascii.rst
+6
-3
No files found.
Doc/library/binascii.rst
View file @
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment