functors

Tom Plunket tomas at fancy.org
Thu Jul 3 07:55:03 CEST 2003


Mirko Zeibig wrote:

> You don't need lambda here, just give the Countdown class a reference to your
> callback-method by specifying it's name *without* parentheses :-).

Heh oh yeah.  The "instance-bound methods" I guess this is called
is what was really throwing me.  :)

Thanks- this is the solution that I was looking for.  Dunno why I
got stuck in the needing a lambda routine, but oh well.  ;)

-tom!




More information about the Python-list mailing list