Lichen

tests/methods_unbound_bad.py

1031:aa1826243f0c
5 months ago Paul Boddie Avoid creating zero-length temporary arrays.
     1 class C:     2     def __init__(self, x, y, z):     3         self.x = x     4         self.y = y     5         self.z = z     6      7     def c(self):     8         return self.x     9     10 c = C(1, 2, 3)    11 print c.c() # 1    12 print C.c() # bad