micropython

Annotated tests/failure/argument_surplus.py

288:54a2867eb465
2009-11-23 Paul Boddie Added attribute usage registration for branches where more specific attribute usage occurs, but where such usage cannot be merged back into the active usage definition for a given name. This should ensure that attributes are not forgotten because their usage was not merged and carried forward. Added more specific tests.
paul@59 1
#!/usr/bin/env python
paul@59 2
paul@59 3
def f(a, b, c):
paul@59 4
    pass
paul@59 5
paul@59 6
f(1, 2, 3)
paul@59 7
f(1, 2, 3, 4)
paul@59 8
paul@59 9
# vim: tabstop=4 expandtab shiftwidth=4