mirror of
https://github.com/python/cpython
synced 2026-09-26 16:21:04 +03:00
1 line
159 B
ReStructuredText
1 line
159 B
ReStructuredText
Add :meth:`~object.__class_getitem__` to :class:`types.GeneratorType` and :class:`types.CoroutineType` for type hinting purposes. Patch by James Hilton-Balfe.
|