function factory question: embed current values of object attributes

Alan Isaac aisaac at american.edu
Sat Feb 21 04:07:25 EST 2009


Terry Reedy wrote: 
> You are now describing a function closure.  Here is an example that 
> might help.


It does.
Thanks,
Alan



More information about the Python-list mailing list