Define own annotation for variables in Python

前端 未结 0 1712
小鲜肉
小鲜肉 2021-02-05 20:00

I want to define new annotations to use when I define variables in Python scripts. For instance, I want to use annotation like this

def main():
   @test_annot
           


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