mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-08 04:23:24 +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.