diff options
author | Guido van Rossum <guido@python.org> | 1995-08-10 19:45:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-10 19:45:41 (GMT) |
commit | 1a16c868d45740f4bc08fa5c81d998ba6af8235e (patch) | |
tree | 5b93b2f3535a4fbcc3e4e070d64a8a7bdf50592d /Lib/urlparse.py | |
parent | 30642ab29fa57942e047db4b333b966a1c4b7b4b (diff) | |
download | cpython-1a16c868d45740f4bc08fa5c81d998ba6af8235e.zip cpython-1a16c868d45740f4bc08fa5c81d998ba6af8235e.tar.gz cpython-1a16c868d45740f4bc08fa5c81d998ba6af8235e.tar.bz2 |
remove file: from list of protocols taking host
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r-- | Lib/urlparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py index ef2384b..97a28bf 100644 --- a/Lib/urlparse.py +++ b/Lib/urlparse.py @@ -14,7 +14,7 @@ import string uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', 'prospero', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', - 'file', 'prospero', ''] + 'prospero', ''] non_hierarchical = ['gopher', 'mailto', 'news', 'telnet', 'wais'] uses_params = ['ftp', 'prospero', ''] uses_query = ['http', 'wais', ''] |