Function returns a function

James Stroud jstroud at mbi.ucla.edu
Tue Sep 6 23:36:50 CEST 2005


Thank you Paul, this makes much more sense.

James

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

http://www.jamesstroud.com/



More information about the Python-list mailing list