[Python-checkins] bpo-27846: Delete incorrect note in base64 docs (GH-5666)

Berker Peksag webhook-mailer at python.org
Tue Feb 13 19:48:32 EST 2018


https://github.com/python/cpython/commit/b93a52b136fd2285f2891eef91c50e3d36ea6f36
commit: b93a52b136fd2285f2891eef91c50e3d36ea6f36
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Berker Peksag <berker.peksag at gmail.com>
date: 2018-02-14T03:48:28+03:00
summary:

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 88c38a4049ded0e1f197fec3e76be7c0c0e83d7a)

Co-authored-by: Zackery Spytz <zspytz at gmail.com>

files:
M Doc/library/base64.rst

diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index ceecf17cba23..ad9f5f58bee2 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -218,14 +218,6 @@ The modern interface provides:
    .. 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:
 
 .. function:: decode(input, output)



More information about the Python-checkins mailing list