[Tkinter-discuss] Re: lambda and __call__ method

stewart at midtoad.homelinux.org stewart at midtoad.homelinux.org
Fri Oct 8 03:02:38 CEST 2004


Quoting Martin Franklin <mfranklin1 at gatwick.westerngeco.slb.com>:

> I don't want to be pedantic ;-) but..... the __call__ method gets called  
> when the instance of PrintOne is - called - not created.  It's the  
> __init__ method that gets called when the instance is created.

Martin, you're right of course. I didn't write what I meant to say.

cheers,
Stewart



More information about the Tkinter-discuss mailing list