結果 : python patch function of class