Remove unused variable

This commit is contained in:
Andrew M. Kuchling 2001-08-13 14:38:50 +00:00
parent 118aa5337c
commit 3e44248483

View file

@ -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