Suppression d'un objet dans Python

>>> class Test:
...     def __del__(self):
...         print "deleted"
... 
>>> test = Test()
>>> del test
deleted
Muddy Magpie