micropython

Annotated tests/failure/ambiguous_names.py

48:3cc8cd3d0a14
2008-02-23 Paul Boddie Introduced a separate method for assigning instance attribute positions.
paul@40 1
#!/usr/bin/env python
paul@40 2
paul@40 3
def g(x):
paul@40 4
    b = 3
paul@40 5
    global b
paul@40 6
    b = 4
paul@40 7
paul@40 8
# vim: tabstop=4 expandtab shiftwidth=4