summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-12-09 05:52:07 -0800
committerGitHub <noreply@github.com>2019-12-09 05:52:07 -0800
commit21e11383cc59146184da0d69a3f19f004215f9a7 (patch)
treeb8b7420b6c0be6041f877977de3853abdff3acd4
parent188d5ae6f047342f3d6860646ccf1a523ef8b0ed (diff)
downloadcpython-git-21e11383cc59146184da0d69a3f19f004215f9a7.tar.gz
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@python.org>
-rw-r--r--Doc/library/array.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst
index 0da6b48721..901a135675 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()