Lichen

tests/operators.py

82:6cc807f90984
2016-10-06 Paul Boddie Added some support for eliminating accessor class types where the provided attributes are invoked and are unbound methods.
     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)