The docs for __class_getitem__ are here:
I think the Data Model chapter is the right place for it.
On Thu, May 6, 2021 at 2:14 AM Paul Bryan email@example.com wrote:
I'm looking through the documentation, and not finding any good reference for type hints for __class_getitem__ in the collections.abc module.
I do see some of it covered in the typing module documentation, but those are deprecated, and some are somewhat cryptic (e.g. Coroutine).
Make sense to open a BPO and start a PR for doc updates?
Python-Dev mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://firstname.lastname@example.org/message/U3QIWBXH... Code of Conduct: http://python.org/psf/codeofconduct/