-list@python.org
Sent: Saturday, March 21, 2009 6:45:20 PM
Subject: Re: __init__ vs. __del__
On Sat, 2009-03-21 at 17:41 -0700, Randy Turner wrote:
> Hi,
>
>
> I was reading a book on Python-3 programming recently and the book
> stated that, while there is an __init__ method
Hi,
I was reading a book on Python-3 programming recently and the book stated that,
while there is an __init__ method for initializing objects, there was a __del__
method but the __del__ method is not guaranteed to be called when an object is
destroyed.
If there is code in the __init__ method