Lichen

Annotated tests/methods_unbound_bad.py

886:43f7a46d1e0d
2019-02-01 Paul Boddie Merged changes from trailing-data. float-preallocation
paul@840 1
class C:
paul@840 2
    def __init__(self, x, y, z):
paul@840 3
        self.x = x
paul@840 4
        self.y = y
paul@840 5
        self.z = z
paul@840 6
paul@840 7
    def c(self):
paul@840 8
        return self.x
paul@840 9
paul@840 10
c = C(1, 2, 3)
paul@840 11
print c.c() # 1
paul@840 12
print C.c() # bad