mypy
66b96ed5 - Additional validation for TypeVar defaults (PEP 696) (#15442)

Commit
2 years ago
Additional validation for TypeVar defaults (PEP 696) (#15442) Check that `default` type is a subtype of `bound` or one of the constraint types. Add `default` to nodes `__match_args__`. Missed that initially. Ref: #14851
Author
Parents
Loading