Lichen

tests/operators.py

308:eb828fda0a2f
2016-12-03 Paul Boddie Removed incomplete or superfluous library modules used for previous work.
     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