-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bound TypeVar reported as incompatible with argument defaults #7927
Comments
I'm not 100% sure but you may check #7864 on @ilevkivskyi 's clarification about default values. |
This is actually a special case that we might want to special-case, see #3737. But yes, the general solution is to use overloads. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably a herp derp on my part but I can't figure out what's wrong here.
Example:
On the penultimate line Mypy reports:
I would expect it to be happy about the default.
The text was updated successfully, but these errors were encountered: