pass 亦可作為一個函式或條件判斷主體的預留位置,在你撰寫新的程式碼時讓你保持在更抽象的思維層次。 pass 會直接被忽略:. >>> >>> def initlog(*args): ... pass ...
確定! 回上一頁