tests/call_func_default_non_constant.py | raw changeset files shortlog |
1.1 --- a/tests/call_func_default_non_constant.py Mon May 25 00:45:53 2009 +0200 1.2 +++ b/tests/call_func_default_non_constant.py Fri May 29 00:18:40 2009 +0200 1.3 @@ -6,7 +6,7 @@ 1.4 def h(a, b, c=f(5, 4, 3)): 1.5 return c 1.6 1.7 -x = h(1, 2, 3) # -> 3 1.8 -y = h(1, 2) # -> 4 1.9 +result_3 = h(1, 2, 3) # h(c=3) -> 3 1.10 +result_4 = h(1, 2) # h(c=f(5, 4, 3)) -> h(c=f(b=4)) -> h(c=4) -> 4 1.11 1.12 # vim: tabstop=4 expandtab shiftwidth=4