mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix a last use of file() that should be open().
This commit is contained in:
parent
da3673e9d0
commit
4b28041530
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ def read(fileiter, pat, whilematch):
|
|||
break
|
||||
|
||||
def combine(fname):
|
||||
f = file(fname)
|
||||
f = open(fname)
|
||||
|
||||
fi = iter(f)
|
||||
|
||||
for line in read(fi, re.compile(r'^Remaining objects:$'), False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue