tests/call_func_star_parameter_unpack.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/call_func_star_parameter_unpack.py Sun May 17 20:01:13 2009 +0200 1.3 @@ -0,0 +1,9 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +def f(*args): 1.7 + a, b, c = args 1.8 + return c 1.9 + 1.10 +x = f(1, 2, 3) 1.11 + 1.12 +# vim: tabstop=4 expandtab shiftwidth=4