Do not use dictionary in CallableType by ilevkivskyi · Pull Request #19580 · python/mypy
Diff from mypy_primer, showing the effect of this PR on open source code:
pydantic (https://github.com/pydantic/pydantic) - pydantic/v1/validators.py:615: note: def NamedTuple(self, str, Iterable[tuple[str, Any]], /) -> NamedTupleT + pydantic/v1/validators.py:615: note: def __init__(self, str, Iterable[tuple[str, Any]], /) -> NamedTupleT - pydantic/v1/validators.py:615: note: def NamedTuple(self, str, None = ..., /, **kwargs: Any) -> NamedTupleT + pydantic/v1/validators.py:615: note: def __init__(self, str, None = ..., /, **kwargs: Any) -> NamedTupleT