tests/call_func_tuple_parameters.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/call_func_tuple_parameters.py Sun Aug 29 02:03:24 2010 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +def f((a, b), c): 1.7 + return b 1.8 + 1.9 +def g((a, b), c): 1.10 + return c 1.11 + 1.12 +result_2 = f((1, 2), 3) 1.13 +result1_3 = g((1, 2), 3) 1.14 +result2_3 = f(((1, 2), 3), 4) 1.15 +result_4 = g(((1, 2), 3), 4) 1.16 + 1.17 +# vim: tabstop=4 expandtab shiftwidth=4