Re: Passing a variable number of arguments to a function
On Thu, Feb 12, 2009 at 3:44 PM, mercado wrote: > I have the following piece of code that is bugging me: > > #--- > def someFunc(arg1, arg2=True, arg3=0): > print arg1, arg2, arg3 > > someTuple = ( > ("this is a st
Passing a variable number of arguments to a function
I have the following piece of code that is bugging me: #--- def someFunc(arg1, arg2=True, arg3=0): print arg1, arg2, arg3 someTuple = ( ("this is a string",), ("this is another string", False), ("this is a