diff options
Diffstat (limited to 'Lib/lib2to3/fixes/fix_apply.py')
| -rw-r--r-- | Lib/lib2to3/fixes/fix_apply.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixes/fix_apply.py b/Lib/lib2to3/fixes/fix_apply.py index faede68..5af13b7 100644 --- a/Lib/lib2to3/fixes/fix_apply.py +++ b/Lib/lib2to3/fixes/fix_apply.py @@ -9,7 +9,7 @@ This converts apply(func, v, k) into (func)(*v, **k)."""  from .. import pytree  from ..pgen2 import token  from .. import fixer_base -from ..fixer_util import Call, Comma +from ..fixer_util import Call, Comma, parenthesize  class FixApply(fixer_base.BaseFix): @@ -39,7 +39,7 @@ class FixApply(fixer_base.BaseFix):              (func.type != syms.power or               func.children[-2].type == token.DOUBLESTAR)):              # Need to parenthesize -            func = self.parenthesize(func) +            func = parenthesize(func)          func.set_prefix("")          args = args.clone()          args.set_prefix("")  | 
