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
deff(g: Callable[[str], None] |None=None) ->None:
g=gorprintg('a') # type guard works, mypy okdefh() ->None:
g('a') # type guard fails, mypy thinks it could be `None`h()
The text was updated successfully, but these errors were encountered:
Mypy: v0.961
Python: v3.10
The text was updated successfully, but these errors were encountered: