diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-16 09:24:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 09:24:16 (GMT) |
commit | 210c19e3c5b86535a73487fa737752de8eb1d866 (patch) | |
tree | 81473e9158c48984c4e71827275143ed3c8c9504 /Doc | |
parent | fad8b5674c66d9e00bb788e30adddb0c256c787b (diff) | |
download | cpython-210c19e3c5b86535a73487fa737752de8eb1d866.zip cpython-210c19e3c5b86535a73487fa737752de8eb1d866.tar.gz cpython-210c19e3c5b86535a73487fa737752de8eb1d866.tar.bz2 |
bpo-39351: Remove base64.encodestring() (GH-18022)
Remove base64.encodestring() and base64.decodestring(), aliases
deprecated since Python 3.1: use base64.encodebytes() and
base64.decodebytes() instead.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/base64.rst | 12 | ||||
-rw-r--r-- | Doc/whatsnew/3.9.rst | 5 |
2 files changed, 5 insertions, 12 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst index ad9f5f5..1ff22a0 100644 --- a/Doc/library/base64.rst +++ b/Doc/library/base64.rst @@ -235,12 +235,6 @@ The legacy interface: .. versionadded:: 3.1 -.. function:: decodestring(s) - - Deprecated alias of :func:`decodebytes`. - - .. deprecated:: 3.1 - .. function:: encode(input, output) @@ -261,12 +255,6 @@ The legacy interface: .. versionadded:: 3.1 -.. function:: encodestring(s) - - Deprecated alias of :func:`encodebytes`. - - .. deprecated:: 3.1 - An example usage of the module: diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 451902a..47e8a37 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -411,6 +411,11 @@ Removed of :pep:`442`. Patch by Joannah Nanjekye. (Contributed by Joannah Nanjekye in :issue:`15088`) +* ``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated + since Python 3.1, have been removed: use :func:`base64.encodebytes` and + :func:`base64.decodebytes` instead. + (Contributed by Victor Stinner in :issue:`39351`.) + Porting to Python 3.9 ===================== |