summaryrefslogtreecommitdiff
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-22 15:38:46 +0000
committerGuido van Rossum <guido@python.org>1999-02-22 15:38:46 +0000
commit974e32d910c259c0d97e96897d27b69388ac8577 (patch)
tree64cf1367b27b417b22acc803f7398ae9ec3aa38a /Lib/urlparse.py
parent61eeb044d7d1a6d0257f8aff6794a5d6e1f80944 (diff)
downloadcpython-git-974e32d910c259c0d97e96897d27b69388ac8577.tar.gz
Steve Clift pointed out that 'file' allows a netloc.
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r--Lib/urlparse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index 148633e954..af41a7af09 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -10,6 +10,7 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file',
'https', 'shttp',
'prospero', '']
uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais',
+ 'file',
'https', 'shttp', 'snews',
'prospero', '']
non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',