Executing a list of functions

Alex Martelli aleax at mac.com
Mon Mar 19 16:05:11 CET 2007

HMS Surprise <john at datavoiceint.com> wrote:
> Why is apply deprecated?

Because it does exacly the same job as just calling the function with
*a/**k, and there should preferably be only one obvious way to perform a
given task (this guiding principle leads to simplicity in the language,
and is common to Python and to the "Spirit of C" as explained in the
preface of the ISO C Standard -- they phrase it as "offer only one way
to perform an operation", I believe).


More information about the Python-list mailing list