On 2008-04-07 08:54:09 PM, BonusOnus wrote:
> How do I pass a dictionary to a function as an argument?
> 
> 
> # Say I have a function foo...
> def foo (arg=[]):
Try:

def foo(arg={}):

Thanks,
Ricky

Attachment: pgpXEZLwP4mLj.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to