no tupelunpacking
Moshe Zadka
moshez at math.huji.ac.il
Fri May 19 13:04:09 EDT 2000
On Fri, 19 May 2000, Thomas Thiele wrote:
> What is the best way to do this:
>
> def f1( a, b ):
> ...do something with a und b...
>
>
> def f2(...):
> ...calculate ret_a, ret_b
> return ret_a, ret_b
Read about the builtin "apply" function.
--
Moshe Zadka <moshez at math.huji.ac.il>
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list
mailing list