mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Run 2to3 on this library.
This commit is contained in:
parent
f733c60d9a
commit
8a5f8ca33b
22 changed files with 196 additions and 194 deletions
|
@ -21,7 +21,7 @@ from .. import refactor
|
|||
|
||||
class Options:
|
||||
def __init__(self, **kwargs):
|
||||
for k, v in kwargs.items():
|
||||
for k, v in list(kwargs.items()):
|
||||
setattr(self, k, v)
|
||||
self.verbose = False
|
||||
|
||||
|
@ -33,7 +33,7 @@ class Test_all(support.TestCase):
|
|||
|
||||
def test_all_project_files(self):
|
||||
for filepath in support.all_project_files():
|
||||
print "Fixing %s..." % filepath
|
||||
print("Fixing %s..." % filepath)
|
||||
self.refactor.refactor_string(open(filepath).read(), filepath)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue