You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paramspec.py:24: error: Argument 1 has incompatible type "Callable[[int, int], Any]"; expected "Callable[[VarArg(<nothing>), KwArg(<nothing>)], <nothing>]"
paramspec.py:28: error: Argument 1 to "__call__" of "Wrapped" has incompatible type "int"; expected <nothing>
paramspec.py:28: error: Argument 2 to "__call__" of "Wrapped" has incompatible type "int"; expected <nothing>
Found 3 errors in 1 file (checked 1 source file
The text was updated successfully, but these errors were encountered:
This is useful if (via ParamSpec) you get `[T] () -> (T) -> T`.
Otherwise this would become `(<nothing>) -> <nothing>` which is just
wrong!
This fixespython#12595.
mypy==0.950 from https://github.com/python/mypy/tree/release-0.950
python==3.9.11
The text was updated successfully, but these errors were encountered: