小编kin*_*lua的帖子

请问在函数内部使用时func()在python中是什么意思

请问在函数内部使用时func()在python中是什么意思,例如在下面的代码中.

def identity_decorator(func):
    def wrapper():
        func()
    return wrapper
Run Code Online (Sandbox Code Playgroud)

python python-2.7

6
推荐指数
2
解决办法
9577
查看次数

标签 统计

python ×1

python-2.7 ×1