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
The code you wrote is actually unsafe. However, a safe variant with total=False doesn't type-check either. We can potentially support this, but I think this is low priority as I can't imagine many scenarios where this can be useful.
Possibly bug.
Related: #7644
Reproducible example
I use mypy 0.740 and python3.6
The text was updated successfully, but these errors were encountered: