Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Add links to typing PEPs #949

Merged
merged 1 commit into from
Nov 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,25 @@ Linters and Formatters
* `flake8-pyi <https://github.com/ambv/flake8-pyi>`_, a plugin for the
`flake8 <https://flake8.pycqa.org/>`_ linter that adds support for type
stubs.

Typing PEPs
===========

* `PEP 483 <https://www.python.org/dev/peps/pep-0483/>`, background on type hints
* `PEP 484 <https://www.python.org/dev/peps/pep-0484/>`, type hints
* `PEP 526 <https://www.python.org/dev/peps/pep-0526/>`, variable annotations and ``ClassVar``
* `PEP 544 <https://www.python.org/dev/peps/pep-0544/>`, ``Protocol``
* `PEP 561 <https://www.python.org/dev/peps/pep-0561/>`, distributing typed packages
* `PEP 563 <https://www.python.org/dev/peps/pep-0563/>`, ``from __future__ import annotations``
* `PEP 585 <https://www.python.org/dev/peps/pep-0585/>`, subscriptable generics in the standard library
* `PEP 586 <https://www.python.org/dev/peps/pep-0586/>`, ``Literal``
* `PEP 589 <https://www.python.org/dev/peps/pep-0589/>`, ``TypedDict``
* `PEP 591 <https://www.python.org/dev/peps/pep-0591/>`, ``Final``
* `PEP 593 <https://www.python.org/dev/peps/pep-0593/>`, ``Annotated``
* `PEP 604 <https://www.python.org/dev/peps/pep-0604/>`, union syntax with ``|``
* `PEP 612 <https://www.python.org/dev/peps/pep-0612/>`, ``ParamSpec``
* `PEP 613 <https://www.python.org/dev/peps/pep-0613/>`, ``TypeAlias``
* `PEP 646 <https://www.python.org/dev/peps/pep-0646/>`, variadic generics and ``TypeVarTuple``
* `PEP 647 <https://www.python.org/dev/peps/pep-0647/>`, ``TypeGuard``
* `PEP 655 <https://www.python.org/dev/peps/pep-0655/>` (draft), ``Required`` and ``NotRequired``
* `PEP 673 <https://www.python.org/dev/peps/pep-0673/>` (draft), ``Self``