[New-bugs-announce] [issue45449] Document that collections.abc types are subscriptable

Filipe Laíns report at bugs.python.org
Tue Oct 12 13:11:41 EDT 2021


New submission from Filipe Laíns <lains at riseup.net>:

Since 3.9, the types in collections.abc are subscriptable and can be used as type hints, but this is not documented.
We should write something similar to what's on the typing module documentation for the deprecated types.

----------
assignee: docs at python
components: Documentation
messages: 403744
nosy: FFY00, docs at python, gvanrossum, kj
priority: normal
severity: normal
status: open
title: Document that collections.abc types are subscriptable
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45449>
_______________________________________


More information about the New-bugs-announce mailing list