summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
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 /Misc/NEWS.d/next/Library
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 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2019-12-06-18-47-56.bpo-38916.K-raU8.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-12-06-18-47-56.bpo-38916.K-raU8.rst b/Misc/NEWS.d/next/Library/2019-12-06-18-47-56.bpo-38916.K-raU8.rst
new file mode 100644
index 0000000..cb4c4c0
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-12-06-18-47-56.bpo-38916.K-raU8.rst
@@ -0,0 +1,3 @@
+:class:`array.array`: Remove ``tostring()`` and ``fromstring()`` methods.
+They were aliases to ``tobytes()`` and ``frombytes()``, deprecated since
+Python 3.2.