def decorator(func): def inner(*args, **kwargs): # 執行函數前做點事 result ... 可不可以讓這些動作會自定義的做些區別變化,那麼參數化的裝飾器能夠滿足這個要求
確定! 回上一頁