Lichen

tests/nested_lambda.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 a = 4     2      3 def f(x):     4     g = lambda y, x=x: lambda z, x=x, y=y: (x, y, z, a)     5     return g     6      7 result = f(1)(2)(3)     8 assert result == (1, 2, 3, 4)