Why not use juxtaposition to indicate function application

Serhiy Storchaka storchaka at gmail.com
Fri Mar 16 21:57:04 CET 2012


16.03.12 18:45, Steven D'Aprano написав(ла):
> If f is a function which normally takes (for the sake of the argument)
> one argument, then f would call the function with no arguments (which may
> return a curried function, or may apply default arguments, or perhaps
> raise an exception). So how would you refer to the function itself
> without calling it?

lambda:f




More information about the Python-list mailing list