micropython

Annotated tests/failure/instance_initialisation_incomplete.py

290:029ccbe64c2b
2009-11-28 Paul Boddie Added another reference.
paul@273 1
#!/usr/bin/env python
paul@273 2
paul@273 3
class C:
paul@273 4
    pass
paul@273 5
paul@273 6
class D:
paul@273 7
    def __init__(self):
paul@273 8
        pass
paul@273 9
paul@273 10
class E:
paul@273 11
    def __init__(self, x):
paul@273 12
        pass
paul@273 13
paul@273 14
c = C()
paul@273 15
d = D()
paul@273 16
e = E()
paul@273 17
paul@273 18
# vim: tabstop=4 expandtab shiftwidth=4