micropython

Annotated tests/failure/instance_multiple_classes.py

579:9df30d738ec1
2012-07-07 Paul Boddie Filter out __init__.py files when looking for submodule files.
paul@243 1
#!/usr/bin/env python
paul@243 2
paul@243 3
class C:
paul@243 4
    x = 111
paul@243 5
paul@243 6
class C:
paul@243 7
    def __init__(self):
paul@243 8
        self.x = 222
paul@243 9
paul@243 10
c = C()
paul@243 11
result_222 = c.x
paul@243 12
paul@243 13
# vim: tabstop=4 expandtab shiftwidth=4