mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove unused variable
This commit is contained in:
parent
118aa5337c
commit
3e44248483
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue