micropython

Annotated tests/changed2/__init__.py

579:9df30d738ec1
2012-07-07 Paul Boddie Filter out __init__.py files when looking for submodule files.
paul@573 1
#!/usr/bin/env python
paul@573 2
paul@573 3
def f():
paul@573 4
    import changed2.modifier
paul@573 5
paul@573 6
def getx():
paul@573 7
    return x
paul@573 8
paul@573 9
x = 123
paul@573 10
f() # import modifier which changes x in this module
paul@573 11
paul@573 12
# vim: tabstop=4 expandtab shiftwidth=4