Mercurial > cpython-lru_cache-weakref
diff Lib/urlparse.py @ 2962:f72abd62d508 legacy-trunk
remove file: from list of protocols taking host
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 10 Aug 1995 19:45:41 +0000 |
| parents | 0acbd85bcdba |
| children | 00ca900c7742 |
line wrap: on
line diff
--- a/Lib/urlparse.py Thu Aug 10 19:44:54 1995 +0000 +++ b/Lib/urlparse.py Thu Aug 10 19:45:41 1995 +0000 @@ -14,7 +14,7 @@ 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', '']
