Hi,
Is there any destructor concept available in Python?.
I have some data members of a class as list and dictionary.I would like to clear the data after ussage of it.
If I have destructor,it will be easy to delete that variables in that method.
Thanks in advance
- PSB
Is there any destructor concept available in Python?.
I have some data members of a class as list and dictionary.I would like to clear the data after ussage of it.
If I have destructor,it will be easy to delete that variables in that method.
Thanks in advance
- PSB
Comment