bpo-29976: urllib.parse clarify '' in scheme values. by orsenthil · Pull Request #984 · python/cpython (original) (raw)

Choose a reason for hiding this comment

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

The comment applies to all three lists, uses_relative, uses_netloc and uses_params.
All of them have '' (empty string) listed as supported scheme, because that is the default
def urlsplit(url, scheme='', allow_fragments=True):
and
def urlparse(url, scheme='', allow_fragments=True):

And the current comment is:
# A classification of schemes ('' means apply by default)