From 1a16c868d45740f4bc08fa5c81d998ba6af8235e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 10 Aug 1995 19:45:41 +0000 Subject: remove file: from list of protocols taking host --- Lib/urlparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ''] -- cgit v0.12