Skip to content

Commit 21e1138

Browse files
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 0381ea7) Co-authored-by: Victor Stinner <[email protected]>
1 parent 188d5ae commit 21e1138

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/array.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ The following data items and methods are also supported:
172172

173173
Deprecated alias for :meth:`frombytes`.
174174

175+
.. deprecated-removed:: 3.2 3.9
176+
175177

176178
.. method:: array.fromunicode(s)
177179

@@ -234,6 +236,8 @@ The following data items and methods are also supported:
234236

235237
Deprecated alias for :meth:`tobytes`.
236238

239+
.. deprecated-removed:: 3.2 3.9
240+
237241

238242
.. method:: array.tounicode()
239243

0 commit comments

Comments
 (0)