IBM / pyflowgraph

Flow graphs for Python
Apache License 2.0
25 stars 8 forks source link

AST transformers for in-place mathematical operators #16

Closed epatters closed 5 years ago

epatters commented 5 years ago

Implement AST transformers for in-place mathematical operators, using a combination of in-place operator functions (operator.iadd, operator.imul, etc) and setter functions (setattr and operator.setitem).

Support syntax like:

Follow up to #12.