結果 : python pass class method to function