• Lisandro Dalcin's avatar
    ExpressionWriter: Various enhancements · 40a3c5c1
    Lisandro Dalcin authored
    * Simplify string handling using common code to handle prefixes
    * Fix rendering of empty sets as `set()` instead of ``{}`
    * Add support generator expressions
    * Use common code for comprehensions and generator expressions
    * Add support for Ellipsis rendered as `...`
    * Minor refactor to handling of unop/binop precedence
    * Fix rendering of multidimensional indexing
    40a3c5c1
CodeWriter.py 23.3 KB