summaryrefslogtreecommitdiffstats
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-05-07 05:50:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-05-07 05:50:35 (GMT)
commit156c49ad1c7c8d785f52c61ea05f2236da7e1325 (patch)
tree5d39a12d189bfde2ff4feaad1ce7fdd86340eb9e /Lib/urlparse.py
parent6924a00d10d7876840f40467ed18677a60467d71 (diff)
downloadcpython-156c49ad1c7c8d785f52c61ea05f2236da7e1325.zip
cpython-156c49ad1c7c8d785f52c61ea05f2236da7e1325.tar.gz
cpython-156c49ad1c7c8d785f52c61ea05f2236da7e1325.tar.bz2
Revert last change.
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r--Lib/urlparse.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index f6b367f..2f1965a 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -8,22 +8,22 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
"urlsplit", "urlunsplit"]
# A classification of schemes ('' means apply by default)
-uses_relative = set(['ftp', 'http', 'gopher', 'nntp', 'imap',
+uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
'wais', 'file', 'https', 'shttp', 'mms',
- 'prospero', 'rtsp', 'rtspu', ''])
-uses_netloc = set(['ftp', 'http', 'gopher', 'nntp', 'telnet',
+ 'prospero', 'rtsp', 'rtspu', '']
+uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
'imap', 'wais', 'file', 'mms', 'https', 'shttp',
- 'snews', 'prospero', 'rtsp', 'rtspu', ''])
-non_hierarchical = set(['gopher', 'hdl', 'mailto', 'news',
- 'telnet', 'wais', 'imap', 'snews', 'sip'])
-uses_params = set(['ftp', 'hdl', 'prospero', 'http', 'imap',
+ 'snews', 'prospero', 'rtsp', 'rtspu', '']
+non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
+ 'telnet', 'wais', 'imap', 'snews', 'sip']
+uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',
'https', 'shttp', 'rtsp', 'rtspu', 'sip',
- 'mms', ''])
-uses_query = set(['http', 'wais', 'imap', 'https', 'shttp', 'mms',
- 'gopher', 'rtsp', 'rtspu', 'sip', ''])
-uses_fragment = set(['ftp', 'hdl', 'http', 'gopher', 'news',
+ 'mms', '']
+uses_query = ['http', 'wais', 'imap', 'https', 'shttp', 'mms',
+ 'gopher', 'rtsp', 'rtspu', 'sip', '']
+uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news',
'nntp', 'wais', 'https', 'shttp', 'snews',
- 'file', 'prospero', ''])
+ 'file', 'prospero', '']
# Characters valid in scheme names
scheme_chars = ('abcdefghijklmnopqrstuvwxyz'