Mercurial > cpython-lru_cache-weakref
diff Lib/urlparse.py @ 10264:b9bb75ded804 legacy-trunk
Steve Clift pointed out that 'file' allows a netloc.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 22 Feb 1999 15:38:46 +0000 |
| parents | 737d05a9bb5e |
| children | 52438c87fedc |
line wrap: on
line diff
--- a/Lib/urlparse.py Mon Feb 22 15:29:15 1999 +0000 +++ b/Lib/urlparse.py Mon Feb 22 15:38:46 1999 +0000 @@ -10,6 +10,7 @@ 'https', 'shttp', 'prospero', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', + 'file', 'https', 'shttp', 'snews', 'prospero', ''] non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',
