I wrote: (some guff on default parameters)

Of course, it helps if I actually include the alternative function's
code:
>>> def foo(a, b = None):
...     if b == None: b = []
...     b.append(a)
...     return b

Sorry about that :)

-alex23

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

Reply via email to