Function arguments

brasse thebrasse at
Mon Jan 26 10:03:43 CET 2009


Is there any way that I can get at all the arguments passed to a
function as a map without using keyword arguments?

def foo(a, b, c):
    # Can I access all the arguments in a collection somewhere?

I'm mainly curious since I have stumbled on to some cases where it
might have been nice to be able to do that.

:.:: mattias

More information about the Python-list mailing list