mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Merge branch 'py3k-backport' into testing
This commit is contained in:
commit
d04c87c95b
@ -18,5 +18,5 @@ class FixDefIteritems(fixer_base.BaseFix):
|
||||
|
||||
def transform(self, node, results):
|
||||
name = results["name"]
|
||||
new = Name(u"items", prefix=name.prefix)
|
||||
new = Name("items", prefix=name.prefix)
|
||||
name.replace(new)
|
||||
|
@ -18,5 +18,5 @@ class FixDefIterkeys(fixer_base.BaseFix):
|
||||
|
||||
def transform(self, node, results):
|
||||
name = results["name"]
|
||||
new = Name(u"keys", prefix=name.prefix)
|
||||
new = Name("keys", prefix=name.prefix)
|
||||
name.replace(new)
|
||||
|
@ -18,5 +18,5 @@ class FixDefItervalues(fixer_base.BaseFix):
|
||||
|
||||
def transform(self, node, results):
|
||||
name = results["name"]
|
||||
new = Name(u"values", prefix=name.prefix)
|
||||
new = Name("values", prefix=name.prefix)
|
||||
name.replace(new)
|
||||
|
@ -23,5 +23,5 @@ class FixReload(fixer_base.BaseFix):
|
||||
"""
|
||||
|
||||
def transform(self, node, results):
|
||||
touch_import(u'imp', u'reload', node)
|
||||
touch_import('imp', 'reload', node)
|
||||
return node
|
||||
|
Loading…
Reference in New Issue
Block a user