Lichen

tests/operators.py

232:2d23fd9e64ec
2016-11-24 Paul Boddie Only generate signatures for generated literal instantiators.
     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