[Tutor] Another Question

alan.gauld@bt.com alan.gauld@bt.com
Wed, 17 Jan 2001 10:14:31 -0000

> | I assume I'm missing the point here but this seems to do it...
> | 
> | >>> class A:
> | ...  def fun(s,*o):
> | ...    print "A fun"
>          print o  # try this instead,  it's not quite right

Oh, you want to *use* the options as well?! :-)
I said I thought I was missing something...

> I think the "apply" response was correct.  

I knew the apply would work but it's a bit more obscure. 
The simple approach seemed to work but I didn't try 
accessing the parameter values - oops!

Alan G