Python(77)_裝飾器進階_多個裝飾器修飾一個函數

#-*-coding:utf-8-*- import os import time ''' 多個裝飾器修飾一個函數 ''' def wrapper1(func): def inner1(*args,**kwargs): print("wrapper1,befor func") ret = func(*args,**kwargs) print(
相關文章
相關標籤/搜索