__init__ is the initialiser

Roy Smith roy at panix.com
Sat Feb 1 06:25:04 CET 2014


In article <52ec84bc$0$29972$c3e8da3$5496439d at news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

> On Fri, 31 Jan 2014 22:16:59 -0500, Terry Reedy wrote:
> 
> > Creating a painting on canvas has two similar phases. Prepare a generic
> > blank canvas stretched on a frame and coated with a white undercoat.
> > Paint a particular picture. Would you say that the second step is not
> > creating anything?
> 
> A dubious analogy, since there are artists who would say that attacking 
> the canvas with a knife and setting the remains on fire count as a form 
> of artistic creation :-)

That's __del__()



More information about the Python-list mailing list