]> granicus.if.org Git - python/commitdiff
bpo-27846: Delete incorrect note in base64 docs (GH-5666)
authorZackery Spytz <zspytz@gmail.com>
Wed, 14 Feb 2018 00:08:54 +0000 (17:08 -0700)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 14 Feb 2018 00:08:54 +0000 (03:08 +0300)
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.

Doc/library/base64.rst

index ceecf17cba23e3c86aeaf308663c80b59f9a6c7c..ad9f5f58bee2aac1f330f612519809b01dbb5a64 100644 (file)
@@ -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)