而super( ) 常見的用途之一正是在 __init__() 中,用來確保父類別已經正確地初始化。 舉例而言:. class Mail: def __init__(self,sender,recipent): ...
確定! 回上一頁