Decorator execution?

后端 未结 0 1576
谎友^
谎友^ 2020-12-07 06:19

Playing with decorator, founds something strange: I have something simple as below (a decorator to register the function to a list:

stored_f = []

def registe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题