結果 : python function not defined in class