Lichen

tests/consts.py

263:d81ea7b97af1
2016-11-28 Paul Boddie Ensure that constant accessors really are static in attribute plans.
     1 def f():     2     s = "test"     3     m = s.__len__     4     n = "test".__len__     5     print m()     6     print n()     7      8 def g():     9     l = [1]    10     m = l.__len__    11     n = [1].__len__    12     print m()    13     print n()    14     15 f()    16 g()