Basic python OOPs question

Daniel daniel.mendyke at digital.com
Thu Jun 10 13:45:35 EDT 1999


Do I understand correctly that objects are removed
from the name space when they go out of scope?
And that they go out of scope based on indentation?

If so is there a default function called on 
objects that go out of scope?  The __init__
function is called when an object is created.
Is there a function that is called when the
object is destroyed?

Daniel





More information about the Python-list mailing list