mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +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
|
@ -531,8 +531,8 @@ def test():
|
|||
action(sys.stdin, sys.stdout, stepsize, tabsize, expandtabs)
|
||||
else:
|
||||
action = eval(action + '_file')
|
||||
for file in args:
|
||||
action(file, stepsize, tabsize, expandtabs)
|
||||
for filename in args:
|
||||
action(filename, stepsize, tabsize, expandtabs)
|
||||
# end for
|
||||
# end if
|
||||
# end def test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue