[Python-checkins] bpo-38916: Document array.array deprecation (GH-17523)

Miss Islington (bot) webhook-mailer at python.org
Mon Dec 9 08:52:12 EST 2019


https://github.com/python/cpython/commit/21e11383cc59146184da0d69a3f19f004215f9a7
commit: 21e11383cc59146184da0d69a3f19f004215f9a7
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-12-09T05:52:07-08:00
summary:

bpo-38916: Document array.array deprecation (GH-17523)


array.array: Document that tostring() and fromstring() deprecated
aliases will be removed in Python 3.9.
(cherry picked from commit 0381ea79ac2da03179c8512c581cac588b69cff9)

Co-authored-by: Victor Stinner <vstinner at python.org>

files:
M Doc/library/array.rst

diff --git a/Doc/library/array.rst b/Doc/library/array.rst
index 0da6b48721fb9..901a1356758a3 100644
--- a/Doc/library/array.rst
+++ b/Doc/library/array.rst
@@ -172,6 +172,8 @@ The following data items and methods are also supported:
 
    Deprecated alias for :meth:`frombytes`.
 
+   .. deprecated-removed:: 3.2 3.9
+
 
 .. method:: array.fromunicode(s)
 
@@ -234,6 +236,8 @@ The following data items and methods are also supported:
 
    Deprecated alias for :meth:`tobytes`.
 
+   .. deprecated-removed:: 3.2 3.9
+
 
 .. method:: array.tounicode()
 



More information about the Python-checkins mailing list