diff options
Diffstat (limited to 'Lib/lib2to3/fixes/fix_intern.py')
-rw-r--r-- | Lib/lib2to3/fixes/fix_intern.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixes/fix_intern.py b/Lib/lib2to3/fixes/fix_intern.py index 66c616e..46e5239 100644 --- a/Lib/lib2to3/fixes/fix_intern.py +++ b/Lib/lib2to3/fixes/fix_intern.py @@ -34,11 +34,11 @@ class FixIntern(fixer_base.BaseFix): if after: after = [n.clone() for n in after] new = pytree.Node(syms.power, - Attr(Name("sys"), Name("intern")) + + Attr(Name(u"sys"), Name(u"intern")) + [pytree.Node(syms.trailer, [results["lpar"].clone(), newarglist, results["rpar"].clone()])] + after) new.set_prefix(node.get_prefix()) - touch_import(None, 'sys', node) + touch_import(None, u'sys', node) return new |