|
|
|
PEP 849: More Expressive Type Expressions
Currently, the Python interpreter allows any expression to be used as an annotation. But their most popular usage, type annotations, are restricted to only a small subset of possible expressions. This...
|
|
PEP 846: Docstrings for Type Aliases
This PEP proposes preserving a string literal immediately following a type statement as the resulting type alias object’s __doc__ attribute, exposing that documentation through ast, and displaying it...
|
|
PEP 845: Leading-Dot Value Patterns
This PEP enables the use of non-attribute names as value patterns in match statements. A name prefixed with a dot is looked up using the normal name resolution rules and compared to the match subject ...
|
|
|