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