micropython

Change of tests/call_func_default_non_constant.py

211:4db18d4b2a85
tests/call_func_default_non_constant.py
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/call_func_default_non_constant.py	Sat May 09 02:54:18 2009 +0200
     1.3 @@ -0,0 +1,12 @@
     1.4 +#!/usr/bin/env python
     1.5 +
     1.6 +def f(a, b, c):
     1.7 +    return b
     1.8 +
     1.9 +def h(a, b, c=f(5, 4, 3)):
    1.10 +    return c
    1.11 +
    1.12 +x = h(1, 2, 3) # -> 3
    1.13 +y = h(1, 2)    # -> 4
    1.14 +
    1.15 +# vim: tabstop=4 expandtab shiftwidth=4