mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix a last use of file() that should be open().
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user