Lichen

tests/operators.py

203:e28858d7f9d5
2016-11-21 Paul Boddie Added alias serialisation in order to preserve origin information for imported instances in the cached data.
     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)