projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118aa53
)
Remove unused variable
author
Andrew M. Kuchling
<amk@amk.ca>
Mon, 13 Aug 2001 14:38:50 +0000
(14:38 +0000)
committer
Andrew M. Kuchling
<amk@amk.ca>
Mon, 13 Aug 2001 14:38:50 +0000
(14:38 +0000)
Lib/urlparse.py
patch
|
blob
|
history
diff --git
a/Lib/urlparse.py
b/Lib/urlparse.py
index 1df83d68d31b13b895c069657e149271cbf2fcac..49c7bc87e071a47d4432df758ef7e4c38689b7cf 100644
(file)
--- 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 = pa
th = pa
rams = query = fragment = ''
+ netloc = params = query = fragment = ''
i = url.find(':')
if i > 0:
if url[:i] == 'http': # optimize the common case