Re: passing/catching a variable number of args in python
Jack.Jansen@cwi.nl
Sun, 08 Dec 91 17:16:01 +0100
The only things that took me some time to work out (with Guido's help)
with the parameter passing were the fact the the first argument of a
method was funny, so you have to use constructs like
def func(self,(foo,bar))
in some places. The other thing was the funny difference between
zero-, one- and many-argument functions (although this might be more
due to the handling of 1-sized tuples than anything else).
--
Jack Jansen | In Holland things are serious, but never hopeless.
Jack.Jansen@cwi.nl | In Ireland things are hopeless, but never serious.
uunet!cwi.nl!jack G=Jack;S=Jansen;O=cwi;PRMD=surf;ADMD=400net;C=nl