At Friday 27/10/2006 16:35, [EMAIL PROTECTED] wrote:

If I'm building a function to accept optional parameters, do I need to
allow for the capture of both the positional arguments as well as the
keyword arguments? If it doesn't make sense to allow keyword arguments,
can I just write:

def myfunc(a, b, *tup):
  ...

and be done with it?

Just try and see if it works.
http://docs.python.org/tut/node6.html#SECTION006730000000000000000


--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to