tests/call_func_default_keyword.py | raw changeset files shortlog |
1.1 --- a/tests/call_func_default_keyword.py Sun May 17 23:50:20 2009 +0200 1.2 +++ b/tests/call_func_default_keyword.py Mon May 18 23:56:12 2009 +0200 1.3 @@ -1,11 +1,11 @@ 1.4 #!/usr/bin/env python 1.5 1.6 def f(a, b, c=4): 1.7 - pass 1.8 + return c 1.9 1.10 -f(1, 2, 3) 1.11 -f(1, b=2, c=3) 1.12 -f(c=3, b=2, a=1) 1.13 -f(1, 2) 1.14 +p = f(1, 2, 3) 1.15 +q = f(1, b=2, c=3) 1.16 +r = f(c=3, b=2, a=1) 1.17 +s = f(1, 2) 1.18 1.19 # vim: tabstop=4 expandtab shiftwidth=4