Merge branch 'py3k-backport' into testing

This commit is contained in:
Valentin Lorentz 2013-01-06 13:35:37 +01:00
commit d04c87c95b
4 changed files with 4 additions and 4 deletions

View File

@ -18,5 +18,5 @@ class FixDefIteritems(fixer_base.BaseFix):
def transform(self, node, results): def transform(self, node, results):
name = results["name"] name = results["name"]
new = Name(u"items", prefix=name.prefix) new = Name("items", prefix=name.prefix)
name.replace(new) name.replace(new)

View File

@ -18,5 +18,5 @@ class FixDefIterkeys(fixer_base.BaseFix):
def transform(self, node, results): def transform(self, node, results):
name = results["name"] name = results["name"]
new = Name(u"keys", prefix=name.prefix) new = Name("keys", prefix=name.prefix)
name.replace(new) name.replace(new)

View File

@ -18,5 +18,5 @@ class FixDefItervalues(fixer_base.BaseFix):
def transform(self, node, results): def transform(self, node, results):
name = results["name"] name = results["name"]
new = Name(u"values", prefix=name.prefix) new = Name("values", prefix=name.prefix)
name.replace(new) name.replace(new)

View File

@ -23,5 +23,5 @@ class FixReload(fixer_base.BaseFix):
""" """
def transform(self, node, results): def transform(self, node, results):
touch_import(u'imp', u'reload', node) touch_import('imp', 'reload', node)
return node return node