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
I am confused by an error I'm getting with a urlparse call. This may be related to #1907, but I don't know.
Here's a minimal reproduction case:
fromurllib.parseimporturlparse# Gives a mypy error:u=urlparse('https://example.com/#frag', allow_fragments=False)
print(u)
# Does not give a mypy error:u2=urlparse('https://example.com/#frag')
print(u2)
I am confused by an error I'm getting with a urlparse call. This may be related to #1907, but I don't know.
Here's a minimal reproduction case:
If I run this, it gives the output I expect:
If I run mypy on it, I get:
The typeshed code looks reasonable to me.
software versions:
The text was updated successfully, but these errors were encountered: