]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38916: Document array.array deprecation (GH-17523)
authorVictor Stinner <vstinner@python.org>
Mon, 9 Dec 2019 13:46:33 +0000 (14:46 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 13:46:33 +0000 (14:46 +0100)
array.array: Document that tostring() and fromstring() deprecated
aliases will be removed in Python 3.9.

Doc/library/array.rst

index 2ae2a071262a17275119b9495be0efc82577e5df..6809c512b3f02097a4fe36cbee6dd2e6f696cbd9 100644 (file)
@@ -173,6 +173,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)
 
@@ -235,6 +237,8 @@ The following data items and methods are also supported:
 
    Deprecated alias for :meth:`tobytes`.
 
+   .. deprecated-removed:: 3.2 3.9
+
 
 .. method:: array.tounicode()