[Tutor] special call for deleted objects?

Thomas Clive Richards thomi at thomi.imail.net.nz
Fri Jan 30 04:40:09 EST 2004

> I seem to recall there is a __del__ method you can add to your class.
> It doesn't get called until the class is actually garbage collected
> however so the behaviour is a little unpredictable.

Ahh, right.

I guess I'll go with my original plan...

BTW, where can I find this information? Am I missing some documentation 
somewhere? (I'm looking in the documentation distributed with python2.3)...


Thomi Richards,
thomi at once.net.nz

More information about the Tutor mailing list