Lichen

tests/consts.py

231:72b93c7c757a
2016-11-24 Paul Boddie Added issubclass and improved isinstance, also introducing various native functions and operations.
     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()