micropython

Annotated tests/failure/argument_surplus_uncertain.py

579:9df30d738ec1
2012-07-07 Paul Boddie Filter out __init__.py files when looking for submodule files.
paul@215 1
#!/usr/bin/env python
paul@215 2
paul@215 3
def f():
paul@215 4
    pass
paul@215 5
paul@215 6
g = f
paul@215 7
paul@215 8
def g(a, c, b):
paul@215 9
    pass
paul@215 10
paul@215 11
g(1, a=3, b=2)
paul@215 12
g(1, 2, 3, 4) # uncertain target - not detected
paul@215 13
paul@215 14
# vim: tabstop=4 expandtab shiftwidth=4