mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
gh-116126: Implement PEP 696 (#116129)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
852263e108
commit
ca269e58c2
28 changed files with 1924 additions and 623 deletions
|
@ -145,8 +145,8 @@ module Python
|
|||
|
||||
type_ignore = TypeIgnore(int lineno, string tag)
|
||||
|
||||
type_param = TypeVar(identifier name, expr? bound)
|
||||
| ParamSpec(identifier name)
|
||||
| TypeVarTuple(identifier name)
|
||||
type_param = TypeVar(identifier name, expr? bound, expr? default_value)
|
||||
| ParamSpec(identifier name, expr? default_value)
|
||||
| TypeVarTuple(identifier name, expr? default_value)
|
||||
attributes (int lineno, int col_offset, int end_lineno, int end_col_offset)
|
||||
}
|
||||
|
|
991
Parser/parser.c
generated
991
Parser/parser.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue