Pythonic way for missing dict keys

John J. Lee jjl at pobox.com
Wed Aug 1 15:06:36 EDT 2007


Steve Holden <steve at holdenweb.com> writes:
[...]
> Yup. Anyway there's a trivial translation for uses of apply.
>
>     apply(f, *args, **kw) =>  f(*args, **kw)
[...]

Steve means:

apply(f, args, kw) =>  f(*args, **kw)


John



More information about the Python-list mailing list