summaryrefslogtreecommitdiff
blob: 2a0cbf1075783752cdcd2a54bd608176fcc82d1c (plain)
1
2
3
4
Clarify that subscription expressions are also valid for certain
:term:`classes <class>` and :term:`types <type>` in the standard library, and
for user-defined classes and types if the classmethod
:meth:`__class_getitem__` is provided.