Closed erictraut closed 1 month ago
Diff from mypy_primer, showing the effect of this PR on open source code:
trio (https://github.com/python-trio/trio)
- Signature of __init__ is "(self: RaisesGroup, exception: type[E@__init__] | Matcher[E@__init__] | E@__init__, ..., allow_unwrapped: bool = False, flatten_subgroups: bool = False, match: str | Pattern[str] | None = None, check: ((Unknown) -> bool) | None = None, strict: None = None)"
+ Signature of __init__ is "(exception: type[E@__init__] | Matcher[E@__init__] | E@__init__, ..., allow_unwrapped: bool = False, flatten_subgroups: bool = False, match: str | Pattern[str] | None = None, check: ((Unknown) -> bool) | None = None, strict: None = None)"
…ctor
errors if one or both of
initor
new` are overloaded. This addresses #8372.