結果 : python function in class not defined