mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Even more removals of '<>'; I can hear Barry shedding a manly tear ...
This commit is contained in:
parent
f76c3daafe
commit
0fc9139193
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ def url2pathname(url):
|
|||
elif components[i] == '..':
|
||||
components[i] = '^'
|
||||
i += 1
|
||||
elif components[i] == '' and i > 0 and components[i-1] <> '':
|
||||
elif components[i] == '' and i > 0 and components[i-1] != '':
|
||||
del components[i]
|
||||
else:
|
||||
i += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue