标签:.com war turn wrap inner bubuko img app return
def login(a, b): print(a, b) def wrapper(f): def inner(*args, **kwargs): ret = f(*args, **kwargs) return ret return inner return wrapper @login(1,2) def func1(): print(111) func1()
标签:.com war turn wrap inner bubuko img app return
原文地址:https://www.cnblogs.com/wangkaiok/p/9912173.html