aspineux <[EMAIL PROTECTED]> writes:
> Nice idea, but if I want args I need to write it like that:
> 
> x=d.get('a', defaultfunc=f, funcargs=(1,2,3))

Yeah, that looks good.  The default arg to f should be the key being
looked up.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to