Speed *triples* by changing 'apply(f, args)' to 'f(*args)'

Irmen de Jong irmen at -NOSPAM-REMOVE-THIS-xs4all.nl
Wed Mar 5 17:26:58 EST 2003


Roman Suzi wrote:
>>>>def tomorrow(fff): print fff()
> ...
>>>>tomorrow(:len('123'))
> 3

What's that? Didn't you forget a "lambda" before the colon?
I get a SyntaxError as written.

Irmen





More information about the Python-list mailing list