装修问答

python 函数后装饰器怎么加?

指的是
@foo
def bar():
穿碃扁度壮道憋权铂护 pass
等同于
def bar():
pass
bar = foo(bar)
这种吗?

凌人happy 492024-05-28