Document additional python typing PEPs

This commit is contained in:
Correl Roush 2023-09-29 11:46:20 -04:00
parent 505a9fce95
commit 2336b249dd

View file

@ -29,7 +29,7 @@ program correctness.
- Per [[https://www.python.org/dev/peps/pep-0285/][PEP-285]], Python's =boolean= inherits from =int=, hence =True + True = 2=. - Per [[https://www.python.org/dev/peps/pep-0285/][PEP-285]], Python's =boolean= inherits from =int=, hence =True + True = 2=.
* Relevant PEPs * Relevant PEPs
| PEP | Name | Python Version | | PEP | Name | Python Version |
|------+-----------------------------------------------------------------+----------------| |------+-----------------------------------------------------------------------+----------------|
| [[https://www.python.org/dev/peps/pep-3107/][3107]] | Function Annotations | 3.0 | | [[https://www.python.org/dev/peps/pep-3107/][3107]] | Function Annotations | 3.0 |
| [[https://www.python.org/dev/peps/pep-0443/][443]] | Single-dispatch generic functions | 3.4 | | [[https://www.python.org/dev/peps/pep-0443/][443]] | Single-dispatch generic functions | 3.4 |
| [[https://www.python.org/dev/peps/pep-0482/][482]] | Literature Overview for Type Hints | N/A | | [[https://www.python.org/dev/peps/pep-0482/][482]] | Literature Overview for Type Hints | N/A |
@ -56,4 +56,11 @@ program correctness.
| [[https://www.python.org/dev/peps/pep-0640/][640]] | Unused variable syntax | 3.10 | | [[https://www.python.org/dev/peps/pep-0640/][640]] | Unused variable syntax | 3.10 |
| [[https://www.python.org/dev/peps/pep-0646/][646]] | Variadic Generics | 3.11 | | [[https://www.python.org/dev/peps/pep-0646/][646]] | Variadic Generics | 3.11 |
| [[https://www.python.org/dev/peps/pep-0647/][647]] | User-Defined Type Guards | 3.10 | | [[https://www.python.org/dev/peps/pep-0647/][647]] | User-Defined Type Guards | 3.10 |
| [[https://peps.python.org/pep-0649/][649]] | https://peps.python.org/pep-0649/ | 3.13 |
| [[https://www.python.org/dev/peps/pep-0654/][654]] | Exception Groups and except* | 3.11 | | [[https://www.python.org/dev/peps/pep-0654/][654]] | Exception Groups and except* | 3.11 |
| [[https://peps.python.org/pep-0655/][655]] | Marking individual TypedDict items as required or potentially-missing | 3.11 |
| [[https://peps.python.org/pep-0673/][673]] | Self Type | 3.11 |
| [[https://peps.python.org/pep-0675/][675]] | Arbitrary Literal String Type | 3.11 |
| [[https://peps.python.org/pep-0692/][692]] | Using TypedDict for more precise **kwargs typing | 3.12 |
| [[https://peps.python.org/pep-0695/][695]] | Type Parameter Syntax | 3.12 |
| [[https://peps.python.org/pep-0698/][698]] | Override Decorator for Static Typing | 3.12 |