結果 : python call method when object is destroyed