diff options
Diffstat (limited to 'Lib/lib2to3/fixes/fix_paren.py')
-rw-r--r-- | Lib/lib2to3/fixes/fix_paren.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib2to3/fixes/fix_paren.py b/Lib/lib2to3/fixes/fix_paren.py index 71af238..b205aa7 100644 --- a/Lib/lib2to3/fixes/fix_paren.py +++ b/Lib/lib2to3/fixes/fix_paren.py @@ -10,6 +10,8 @@ from ..fixer_util import LParen, RParen # XXX This doesn't support nested for loops like [x for x in 1, 2 for x in 1, 2] class FixParen(fixer_base.BaseFix): + BM_compatible = True + PATTERN = """ atom< ('[' | '(') (listmaker< any |