* in Python

placid Bulkan at gmail.com
Fri Jun 23 07:23:56 EDT 2006


Hi all,

Can someone tell me what * in the following code means/does a Google
search didnt turn up anything as i dont know what the * is called
(related to Python and i dont think Python has pointers)

def test(*args):
     pass

and sometimes its;

def test(**args):
     pass


Cheers




More information about the Python-list mailing list