summaryrefslogtreecommitdiff
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-08-13 14:38:50 +0000
committerAndrew M. Kuchling <amk@amk.ca>2001-08-13 14:38:50 +0000
commit574947f0a2ef83efe984a75ed04895697742bcab (patch)
tree1702449b4238b4cc334ddd5dae15e22f511ef7e0 /Lib/urlparse.py
parent15c4f8428b620d99c580c5a2a2804782c8d4246e (diff)
downloadcpython-574947f0a2ef83efe984a75ed04895697742bcab.tar.gz
Remove unused variable
Diffstat (limited to 'Lib/urlparse.py')
-rw-r--r--Lib/urlparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urlparse.py b/Lib/urlparse.py
index 1df83d68d3..49c7bc87e0 100644
--- a/Lib/urlparse.py
+++ b/Lib/urlparse.py
@@ -55,7 +55,7 @@ def urlparse(url, scheme = '', allow_fragments = 1):
return cached
if len(_parse_cache) >= MAX_CACHE_SIZE: # avoid runaway growth
clear_cache()
- netloc = path = params = query = fragment = ''
+ netloc = params = query = fragment = ''
i = url.find(':')
if i > 0:
if url[:i] == 'http': # optimize the common case