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
-------
and will be removed in Python 3.14.
(Contributed by Kumar Aditya in :gh:`94597`.)
-
pathlib
-------
import unittest
import pickle
+from array import array
import copy
from collections import (
defaultdict, deque, OrderedDict, Counter, UserDict, UserList
ShareableList,
Future, _WorkItem,
Morsel,
- DictReader, DictWriter]
+ DictReader, DictWriter,
+ array]
if ctypes is not None:
generic_types.extend((ctypes.Array, ctypes.LibraryLoader))
if ValueProxy is not None:
--- /dev/null
+The :class:`array.array` class now supports subscripting, making it a
+:term:`generic type`.
ARRAY_ARRAY_TOBYTES_METHODDEF
ARRAY_ARRAY_TOUNICODE_METHODDEF
ARRAY_ARRAY___SIZEOF___METHODDEF
+ {"__class_getitem__", Py_GenericAlias, METH_O|METH_CLASS, PyDoc_STR("See PEP 585")},
{NULL, NULL} /* sentinel */
};