結果 : python patch a method of a class