Re: Function arguments

2009-01-26 Thread brasse
On Jan 26, 10:39 am, Chris Rebert wrote: > On Mon, Jan 26, 2009 at 1:34 AM, brasse wrote: > > On Jan 26, 10:11 am, Chris Rebert wrote: > >> On Mon, Jan 26, 2009 at 1:03 AM, brasse wrote: > >> > Hello! > > >> > Is there any way that I can get at all the arguments passed to a > >> > function as a

Re: Function arguments

2009-01-26 Thread Chris Rebert
On Mon, Jan 26, 2009 at 1:34 AM, brasse wrote: > On Jan 26, 10:11 am, Chris Rebert wrote: >> On Mon, Jan 26, 2009 at 1:03 AM, brasse wrote: >> > Hello! >> >> > 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

Re: Function arguments

2009-01-26 Thread brasse
On Jan 26, 10:11 am, Chris Rebert wrote: > On Mon, Jan 26, 2009 at 1:03 AM, brasse wrote: > > Hello! > > > 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 c

Re: Function arguments

2009-01-26 Thread Diez B. Roggisch
brasse schrieb: Hello! 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

Re: Function arguments

2009-01-26 Thread Chris Rebert
On Mon, Jan 26, 2009 at 1:03 AM, brasse wrote: > Hello! > > 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? You can use positional arguments

Re: Function arguments

2009-01-26 Thread Erik Max Francis
brasse wrote: 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