micropython

Annotated tests/failure/shadow_class_global.py

579:9df30d738ec1
2012-07-07 Paul Boddie Filter out __init__.py files when looking for submodule files.
paul@339 1
#!/usr/bin/env python
paul@339 2
paul@339 3
def e(self, x):
paul@339 4
    return x
paul@339 5
paul@339 6
class C:
paul@342 7
    for x in range(0, 10):
paul@342 8
        e = e # right hand side name changes origin
paul@339 9
paul@339 10
c = C()
paul@339 11
paul@339 12
# vim: tabstop=4 expandtab shiftwidth=4