]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38916: Document array.array deprecation (GH-17523)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Dec 2019 13:52:07 +0000 (05:52 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 13:52:07 +0000 (05:52 -0800)
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@python.org>
Doc/library/array.rst

index 0da6b48721fb976f695d8cdf56a8aea7113852c4..901a1356758a35e6115b54cf561160ae894b2404 100644 (file)
@@ -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()