summaryrefslogtreecommitdiffstats
path: root/Lib/urlparse.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-08-13 14:38:50 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-08-13 14:38:50 (GMT)
commit3e4424848350484e4d14794e8af27f63f07b19ca (patch)
treef48f4adeb028111081f0ce31f25ca67acc752db9 /Lib/urlparse.py
parent118aa5337c745dece455f4782799c83b9e3a7d4f (diff)
downloadcpython-3e4424848350484e4d14794e8af27f63f07b19ca.zip
cpython-3e4424848350484e4d14794e8af27f63f07b19ca.tar.gz
cpython-3e4424848350484e4d14794e8af27f63f07b19ca.tar.bz2
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 1df83d6..49c7bc8 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