summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-10 19:45:41 (GMT)
committerGuido van Rossum <guido@python.org>1995-08-10 19:45:41 (GMT)
commit1a16c868d45740f4bc08fa5c81d998ba6af8235e (patch)
tree5b93b2f3535a4fbcc3e4e070d64a8a7bdf50592d /Lib
parent30642ab29fa57942e047db4b333b966a1c4b7b4b (diff)
downloadcpython-1a16c868d45740f4bc08fa5c81d998ba6af8235e.zip
cpython-1a16c868d45740f4bc08fa5c81d998ba6af8235e.tar.gz
cpython-1a16c868d45740f4bc08fa5c81d998ba6af8235e.tar.bz2
remove file: from list of protocols taking host
Diffstat (limited to 'Lib')
-rw-r--r--Lib/urlparse.py2
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', '']