summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-12-09 13:09:14 (GMT)
committerGitHub <noreply@github.com>2019-12-09 13:09:14 (GMT)
commit0131aba5ae20d704b972ecd2ef0fc6c9e370a1b3 (patch)
tree2b0d2377452d9be8d09b46f38fffbceb4692110d /Doc/whatsnew
parenta1838ec2592e5082c75c77888f2a7a3eb21133e5 (diff)
downloadcpython-0131aba5ae20d704b972ecd2ef0fc6c9e370a1b3.zip
cpython-0131aba5ae20d704b972ecd2ef0fc6c9e370a1b3.tar.gz
cpython-0131aba5ae20d704b972ecd2ef0fc6c9e370a1b3.tar.bz2
bpo-38916: array.array: remove fromstring() and tostring() (GH-17487)
array.array: Remove tostring() and fromstring() methods. They were aliases to tobytes() and frombytes(), deprecated since Python 3.2.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 1cd96ef..7cf49bf 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -279,6 +279,11 @@ Deprecated
Removed
=======
+* :class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been
+ removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated
+ since Python 3.2.
+ (Contributed by Victor Stinner in :issue:`38916`.)
+
* The abstract base classes in :mod:`collections.abc` no longer are
exposed in the regular :mod:`collections` module. This will help
create a clearer distinction between the concrete classes and the abstract