]> granicus.if.org Git - python/commitdiff
Steve Clift pointed out that 'file' allows a netloc.
authorGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 15:38:46 +0000 (15:38 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 15:38:46 +0000 (15:38 +0000)
Lib/urlparse.py

index 148633e954e8e37891a65caf667c9071e6348674..af41a7af096221a3d713b572b8820aadccf660d9 100644 (file)
@@ -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',