functions which take functions
Ulrich Eckhardt
ulrich.eckhardt at dominolaser.com
Tue Apr 10 08:29:03 EDT 2012
Am 09.04.2012 20:57, schrieb Kiuhnm:
> Do you have some real or realistic (but easy and self-contained)
> examples when you had to define a (multi-statement) function and pass it
> to another function?
Take a look at decorators, they not only take non-trivial functions but
also return them. That said, I wonder what your intention behind this
question is...
:)
Uli
More information about the Python-list
mailing list