summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/array.rst10
-rw-r--r--Doc/whatsnew/3.9.rst5
2 files changed, 5 insertions, 10 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst
index 2ae2a07..c9a9b1d 100644
--- a/Doc/library/array.rst
+++ b/Doc/library/array.rst
@@ -169,11 +169,6 @@ The following data items and methods are also supported:
a.append(x)`` except that if there is a type error, the array is unchanged.
-.. method:: array.fromstring()
-
- Deprecated alias for :meth:`frombytes`.
-
-
.. method:: array.fromunicode(s)
Extends this array with data from the given unicode string. The array must
@@ -231,11 +226,6 @@ The following data items and methods are also supported:
Convert the array to an ordinary list with the same items.
-.. method:: array.tostring()
-
- Deprecated alias for :meth:`tobytes`.
-
-
.. method:: array.tounicode()
Convert the array to a unicode string. The array must be a type ``'u'`` array;
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