[Python-3000-checkins] r59393 - python/branches/py3k/Tools/scripts/combinerefs.py

guido.van.rossum python-3000-checkins at python.org
Thu Dec 6 19:37:53 CET 2007


Author: guido.van.rossum
Date: Thu Dec  6 19:37:53 2007
New Revision: 59393

Modified:
   python/branches/py3k/Tools/scripts/combinerefs.py
Log:
Fix a last use of file() that should be open().


Modified: python/branches/py3k/Tools/scripts/combinerefs.py
==============================================================================
--- python/branches/py3k/Tools/scripts/combinerefs.py	(original)
+++ python/branches/py3k/Tools/scripts/combinerefs.py	Thu Dec  6 19:37:53 2007
@@ -86,7 +86,8 @@
             break
 
 def combine(fname):
-    f = file(fname)
+    f = open(fname)
+
     fi = iter(f)
 
     for line in read(fi, re.compile(r'^Remaining objects:$'), False):


More information about the Python-3000-checkins mailing list