Message371514
The typing module documentation page has a very long section "Classes, functions, and decorators" (https://docs.python.org/3/library/typing.html#classes-functions-and-decorators) that should be split in subsections. The ordering of the entries seems haphazard: it's not alphabetical. Its grouped according to invisible categories.
The categories appear as comments in the source code of typing.py: the `__all__` global lists the API split into categories (see below). We should add these categories to the page as subsections of "Classes, functions, and decorators"
- Super-special typing primitives.
- ABCs (from collections.abc).
- Structural checks, a.k.a. protocols.
- Concrete collection types. |
|
Date |
User |
Action |
Args |
2020-06-14 19:56:11 | ramalho | set | recipients:
+ ramalho, docs@python |
2020-06-14 19:56:11 | ramalho | set | messageid: <1592164571.1.0.235029301981.issue40979@roundup.psfhosted.org> |
2020-06-14 19:56:11 | ramalho | link | issue40979 messages |
2020-06-14 19:56:10 | ramalho | create | |
|