tests/call_func_keyword.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/call_func_keyword.py Fri Mar 21 02:14:30 2008 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +def f(a, b, **c): 1.7 + pass 1.8 + 1.9 +f(1, 2, 3) 1.10 +f(1, b=2, c=3, d=4) 1.11 +f(c=3, b=2, a=1, d=4) 1.12 + 1.13 +g = f 1.14 +g(1, c=3, b=2, d=4) 1.15 + 1.16 +def g(a, c, b): 1.17 + pass 1.18 + 1.19 +g(1, c=3, b=2, d=4) 1.20 + 1.21 +# vim: tabstop=4 expandtab shiftwidth=4