mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Remove variable that is no longer used.
This commit is contained in:
parent
129c97df02
commit
d913864efa
1 changed files with 1 additions and 1 deletions
|
@ -1462,7 +1462,7 @@ if __name__ == '__main__':
|
|||
# much of the testing framework relies on the globals in the
|
||||
# test.test_support module.
|
||||
mydir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
|
||||
i = pathlen = len(sys.path)
|
||||
i = len(sys.path)
|
||||
while i >= 0:
|
||||
i -= 1
|
||||
if os.path.abspath(os.path.normpath(sys.path[i])) == mydir:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue