FW: Strange behaviour of __del__

Neil Schemenauer nas at python.ca
Tue Dec 11 00:30:18 CET 2001


Tom Harris wrote:
> If 'a' is not defined, how does Python find, let alone call a method on it.

Reset your brain:

  http://effbot.org/guides/python-objects.htm

'a' is a reference, not an object.  If you want to do any serious Python
programming you need to understand the information in the referenced
page.

  Neil




More information about the Python-list mailing list