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 -- http://mail.python.org/mailman/listinfo/python-list