這是裝飾器函式,引數func 是被裝飾的函式 def logger(func): def wrapper(*args, **kw): print('主人,我準備開始執行:{} 函數了:'.format(func.
確定! 回上一頁