mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-02 13:27:02 +08:00
Per the urllib.parse documentation, username, password, hostname, and port will be set to None if not set in the parsed URL. The same is true for urlparse in Python 2 according to its documentation.