how do you use a closure in a class

Terry Reedy tjreedy at udel.edu
Tue Mar 29 21:43:14 EST 2005


<erinhouston at gmail.com> wrote in message 
news:1112127423.539691.311860 at o13g2000cwo.googlegroups.com...
>I have several functions that are almost the same in one class I would
> like to use a closure to get rid of the extra code how would I do this?

A more specific example might get a more to the point solution ;-)

TJR






More information about the Python-list mailing list