Lichen

tests/assign_sequence.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 def f():     2     l = [1, 2, 3]     3     x = l     4     a, b, c = l     5     d, e, f = [1, 2, 3]     6      7 def g(x):     8     l = [1, 2, 3]     9     m = [4, l, 6]    10     if x:    11         n = l    12     else:    13         n = m    14     15 l = [1, 2, 3]    16 x = l    17 a, b, c = l    18 d, e, f = [1, 2, 3]    19 m = [4, l, 6]    20 if x:    21     n = l    22 else:    23     n = m