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
Maybe you want to change the title of this issue to state the feature you are requesting. Is it Show a diff between signatures in case of "All conditional function variants must have identical signatures"?
Bug Report
Doing a conditional import confuses mypy.
Use mypy on this:
The result is
Expected Behavior
It should work (I copied the function signature from the module) or at the very least return a useful error message.
Complaining about non identical signatures while printing identical signatures doesn't seem the correct behaviour to me.
Your Environment
mypy 0.812
Python 3.9.2
The text was updated successfully, but these errors were encountered: