help with map function

michael.mata at michael.mata at
Fri Oct 22 21:38:59 CEST 2004

> I don't have any experience working with *args, **kw arguments.
> From what I've read, *args allows for an unknown number of
> arguments to passed into a function and **kw allows for an
> unknown number of key-value pairs to passed into a function.
> But from what I understand, both are optional.  This shouldn't
> change the how you call apply_each.

I spoke too soon. If the function being called doesn't provide for
*args, or **kw then a TypeError exception will be thrown.

More information about the Python-list mailing list