diff options
author | Guido van Rossum <guido@python.org> | 1999-02-22 15:38:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-22 15:38:46 (GMT) |
commit | 974e32d910c259c0d97e96897d27b69388ac8577 (patch) | |
tree | 64cf1367b27b417b22acc803f7398ae9ec3aa38a /Lib | |
parent | 61eeb044d7d1a6d0257f8aff6794a5d6e1f80944 (diff) | |
download | cpython-974e32d910c259c0d97e96897d27b69388ac8577.zip cpython-974e32d910c259c0d97e96897d27b69388ac8577.tar.gz cpython-974e32d910c259c0d97e96897d27b69388ac8577.tar.bz2 |
Steve Clift pointed out that 'file' allows a netloc.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/urlparse.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py index 148633e..af41a7a 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', |