mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
bpo-27846: Delete incorrect note in base64 docs (GH-5666)
This note incorrectly stated that "Base64 has an expansion factor of 6
to 4" (it is actually 4 to 3). It was decided to remove the note.
(cherry picked from commit 88c38a4049
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
parent
5d0d0eaf3c
commit
b93a52b136
1 changed files with 0 additions and 8 deletions
|
@ -218,14 +218,6 @@ The modern interface provides:
|
||||||
.. versionadded:: 3.4
|
.. versionadded:: 3.4
|
||||||
|
|
||||||
|
|
||||||
.. note::
|
|
||||||
Both Base85 and Ascii85 have an expansion factor of 5 to 4 (5 Base85 or
|
|
||||||
Ascii85 characters can encode 4 binary bytes), while the better-known
|
|
||||||
Base64 has an expansion factor of 6 to 4. They are therefore more
|
|
||||||
efficient when space expensive. They differ by details such as the
|
|
||||||
character map used for encoding.
|
|
||||||
|
|
||||||
|
|
||||||
The legacy interface:
|
The legacy interface:
|
||||||
|
|
||||||
.. function:: decode(input, output)
|
.. function:: decode(input, output)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue