1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tests/call_func_extra_unknown.py Sun Jul 19 22:17:23 2009 +0200
1.3 @@ -0,0 +1,24 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +def f(a, b, *c):
1.7 + return c
1.8 +
1.9 +g = f
1.10 +
1.11 +r4 = g(1, 2, 3)
1.12 +r5 = g(1, b=2)
1.13 +r6 = g(1, 2, 3, 4)
1.14 +
1.15 +def g(a, c, *b):
1.16 + return b
1.17 +
1.18 +r7 = g(1, c=2)
1.19 +r8 = g(1, 2, 3, 4)
1.20 +
1.21 +result_0 = len(r5)
1.22 +result_1 = len(r4)
1.23 +result_2 = len(r6)
1.24 +result2_0 = len(r7)
1.25 +result2_2 = len(r8)
1.26 +
1.27 +# vim: tabstop=4 expandtab shiftwidth=4