tests/call_func_default.py | raw changeset files shortlog |
1.1 --- a/tests/call_func_default.py Sun Apr 06 21:26:06 2008 +0200 1.2 +++ b/tests/call_func_default.py Mon Apr 07 02:20:21 2008 +0200 1.3 @@ -1,5 +1,7 @@ 1.4 #!/usr/bin/env python 1.5 1.6 +x = 123 1.7 + 1.8 def f(a, b, c=4): 1.9 pass 1.10 1.11 @@ -18,4 +20,10 @@ 1.12 g(1, c=3, b=2) 1.13 g(1, 3) 1.14 1.15 +def h(a, b, c=f(1, 2, 3)): 1.16 + pass 1.17 + 1.18 +h(1, 2, 3) 1.19 +h(1, 2) 1.20 + 1.21 # vim: tabstop=4 expandtab shiftwidth=4