Skip to content

Mark some urllib.parse return fields optional#3332

Merged
srittau merged 1 commit intopython:masterfrom
rra:urlparse
Oct 9, 2019
Merged

Mark some urllib.parse return fields optional#3332
srittau merged 1 commit intopython:masterfrom
rra:urlparse

Conversation

@rra
Copy link
Contributor

@rra rra commented Oct 9, 2019

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.

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.
Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srittau srittau merged commit f0ccb32 into python:master Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants