Lichen

tests/operators.py

339:5c51c957f560
2016-12-07 Paul Boddie Encode type attributes using the original argument from the instruction.
     1 import operator     2      3 def f(a, op, b):     4     return op(a, b)     5      6 print f(1, operator.add, 2) # 3     7 print f(1, operator.sub, 2) # -1