tests/call_func_default_global.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/call_func_default_global.py Sun Jun 06 15:27:50 2010 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +d = 4 1.7 + 1.8 +def f(a, b, c=d): 1.9 + return c 1.10 + 1.11 +result_3 = f(1, 2, 3) 1.12 +result_4 = f(1, 2) 1.13 + 1.14 +# vim: tabstop=4 expandtab shiftwidth=4