"Kent Johnson" <[EMAIL PROTECTED]> wrote
Then I'm a little confused by the * and ** - they look just like
the
pointer and pointer to a pointer in C++, but do they perform the
same
function in python?
No, these are not pointers, they allow passing arbitrary lists and
dicts of arguments. I don't know of a good writeup of this syntax;
Soince you (the OP) seem to know some C the */** parameters
are somewhat similar to varargs in C. (as used in functions like
printf)
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor