diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2022-11-01 04:10:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 04:10:18 (GMT) |
commit | 5cf317ade1e1b26ee02621ed84d29a73181631dc (patch) | |
tree | 077cd8c371f0541c547bdf952b1bb6231583cc86 /Doc/whatsnew | |
parent | 7640ede177682a06f03694478d64c819e39e03d9 (diff) | |
download | cpython-5cf317ade1e1b26ee02621ed84d29a73181631dc.zip cpython-5cf317ade1e1b26ee02621ed84d29a73181631dc.tar.gz cpython-5cf317ade1e1b26ee02621ed84d29a73181631dc.tar.bz2 |
gh-98658: Add __class_getitem__ to array.array (#98661)
Closes #98658
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 0eb2879..18751f5 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -118,6 +118,12 @@ New Modules Improved Modules ================ +array +----- + +* The :class:`array.array` class now supports subscripting, making it a + :term:`generic type`. (Contributed by Jelle Zijlstra in :gh:`98658`.) + asyncio ------- @@ -141,7 +147,6 @@ asyncio and will be removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.) - pathlib ------- |