micropython

tests/failure/shadow_class_global.py

803:39ba98ecc020
2014-06-01 Paul Boddie Fixed a docstring to describe the method's actual return value. syspython-as-target
     1 #!/usr/bin/env python     2      3 def e(self, x):     4     return x     5      6 class C:     7     for x in range(0, 10):     8         e = e # right hand side name changes origin     9     10 c = C()    11     12 # vim: tabstop=4 expandtab shiftwidth=4