diff options
Diffstat (limited to 'Lib/lib2to3/fixes/fix_callable.py')
-rw-r--r-- | Lib/lib2to3/fixes/fix_callable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixes/fix_callable.py b/Lib/lib2to3/fixes/fix_callable.py index de93792..4de3f66 100644 --- a/Lib/lib2to3/fixes/fix_callable.py +++ b/Lib/lib2to3/fixes/fix_callable.py @@ -27,5 +27,5 @@ class FixCallable(fixer_base.BaseFix): def transform(self, node, results): func = results["func"] - args = [func.clone(), String(', '), String("'__call__'")] - return Call(Name("hasattr"), args, prefix=node.get_prefix()) + args = [func.clone(), String(u', '), String(u"'__call__'")] + return Call(Name(u"hasattr"), args, prefix=node.get_prefix()) |