[New-bugs-announce] [issue40979] typing module docs: keep text, add subsections
ramalho
report at bugs.python.org
Sun Jun 14 15:56:11 EDT 2020
New submission from ramalho <luciano at ramalho.org>:
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.
----------
assignee: docs at python
components: Documentation
messages: 371514
nosy: docs at python, ramalho
priority: normal
severity: normal
status: open
title: typing module docs: keep text, add subsections
versions: Python 3.10, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40979>
_______________________________________
More information about the New-bugs-announce
mailing list