Lichen

tests/operators.py

213:0ebba845f9b0
2016-11-23 Paul Boddie Fixed anonymous accesses, preventing accidental lookup of None. Fixed the attribute access plan output, encoding anonymous accessors.
     1 import operator     2      3 def f(a, op, b):     4     return op(a, b)     5      6 f(1, operator.add, 2)     7 f(1, operator.sub, 2)