tests/call_func_default_keyword.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/call_func_default_keyword.py Sun Feb 22 22:31:21 2009 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +def f(a, b, c=4): 1.7 + pass 1.8 + 1.9 +f(1, 2, 3) 1.10 +f(1, b=2, c=3) 1.11 +f(c=3, b=2, a=1) 1.12 +f(1, 2) 1.13 + 1.14 +# vim: tabstop=4 expandtab shiftwidth=4