Back to index

python3.2  3.2.2
Classes
lib2to3.fixes.fix_paren Namespace Reference

Classes

class  FixParen

Detailed Description

Fixer that addes parentheses where they are required

This converts ``[x for x in 1, 2]`` to ``[x for x in (1, 2)]``.