A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/327129.html below:

Function returns a function

Function returns a function Function returns a functionJames Stroud jstroud at mbi.ucla.edu
Tue Sep 6 17:36:50 EDT 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4