1.1 --- a/tests/call_func_default.py Sun Feb 22 02:04:30 2009 +0100
1.2 +++ b/tests/call_func_default.py Sun Feb 22 22:31:21 2009 +0100
1.3 @@ -1,29 +1,9 @@
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 f(1, 2, 3)
1.12 -f(1, b=2, c=3)
1.13 -f(c=3, b=2, a=1)
1.14 f(1, 2)
1.15
1.16 -g = f
1.17 -g(1, c=3, b=2)
1.18 -g(1, 2)
1.19 -
1.20 -def g(a, c, b=5):
1.21 - pass
1.22 -
1.23 -g(1, c=3, b=2)
1.24 -g(1, 3)
1.25 -
1.26 -def h(a, b, c=f(1, 2, 3)):
1.27 - pass
1.28 -
1.29 -h(1, 2, 3)
1.30 -h(1, 2)
1.31 -
1.32 # vim: tabstop=4 expandtab shiftwidth=4