mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Fix use of 'file' as a variable name.
(I've tested the fixes, but please proofread anyway.)
This commit is contained in:
parent
bf1bef820c
commit
ac6df95d07
16 changed files with 108 additions and 107 deletions
|
@ -38,9 +38,9 @@ def mkrealdir(name):
|
|||
os.chmod(name, mode)
|
||||
linkto = join(os.pardir, linkto)
|
||||
#
|
||||
for file in files:
|
||||
if file not in (os.curdir, os.pardir):
|
||||
os.symlink(join(linkto, file), join(name, file))
|
||||
for filename in files:
|
||||
if filename not in (os.curdir, os.pardir):
|
||||
os.symlink(join(linkto, filename), join(name, filename))
|
||||
|
||||
def main():
|
||||
sys.stdout = sys.stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue