micropython

Annotated tests/failure/instance_initialisation_incomplete.py

579:9df30d738ec1
2012-07-07 Paul Boddie Filter out __init__.py files when looking for submodule files.
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