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
Just a thought from reading your docs: it’s not quite accurate to say that urlparse doesn‘t have a URL type, given that it does return a named tuple, with instances being immutable and having a _replace method for derivation.
It’s not a full modern class with nice methods, and it doesn’t change the fact that there is no validation in urllib.parse, but it’s better than strings or dicts!
Hello!
Just a thought from reading your docs: it’s not quite accurate to say that urlparse doesn‘t have a URL type, given that it does return a named tuple, with instances being immutable and having a _replace method for derivation.
It’s not a full modern class with nice methods, and it doesn’t change the fact that there is no validation in urllib.parse, but it’s better than strings or dicts!
Ref: https://docs.python.org/3/library/urllib.parse.html#structured-parse-results
The text was updated successfully, but these errors were encountered: