Function returns a function

James Stroud jstroud at
Tue Sep 6 23:36:50 CEST 2005

Thank you Paul, this makes much more sense.


On Tuesday 06 September 2005 02:16 pm, Paul Rubin wrote:
>     def FunctionMaker(avar, func, label):
>        def callback():
>           avar.set(label)
>           func()
>        return callback

James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

More information about the Python-list mailing list