]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
remove file: from list of protocols taking host
authorGuido van Rossum <guido@python.org>
Thu, 10 Aug 1995 19:45:41 +0000 (19:45 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 10 Aug 1995 19:45:41 +0000 (19:45 +0000)
Lib/urlparse.py

index ef2384b08f8213b8e21d229e31be91202138f426..97a28bf4ed35dd3ec13cb8955b5451a5cbb56fdd 100644 (file)
@@ -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', '']