Lichen

tests/operators.py

277:661a64c3c237
2016-11-29 Paul Boddie Fixed "in" and "not in" operator parameter usage. Removed a reminder comment that should be placed elsewhere.
     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