装饰器

tech2024-12-10  7

装饰器 ```c def log(func): def warpper(*arg,**kwarg): print("I AM a log") res=func(*arg,**kwarg) return warpper @log def func(): print("I AM is a function") func()
最新回复(0)