In Python. Destructor in Python is a special or magic method that is called automatically when the object gets deleted.