結果 : inherit class methods python