diff options
Diffstat (limited to 'Lib/lib2to3/fixes/fix_repr.py')
| -rw-r--r-- | Lib/lib2to3/fixes/fix_repr.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixes/fix_repr.py b/Lib/lib2to3/fixes/fix_repr.py index 99e7722..0bc6ba6 100644 --- a/Lib/lib2to3/fixes/fix_repr.py +++ b/Lib/lib2to3/fixes/fix_repr.py @@ -5,7 +5,7 @@  # Local imports  from .. import fixer_base -from ..fixer_util import Call, Name +from ..fixer_util import Call, Name, parenthesize  class FixRepr(fixer_base.BaseFix): @@ -18,5 +18,5 @@ class FixRepr(fixer_base.BaseFix):          expr = results["expr"].clone()          if expr.type == self.syms.testlist1: -            expr = self.parenthesize(expr) +            expr = parenthesize(expr)          return Call(Name("repr"), [expr], prefix=node.get_prefix())  | 
