Catch NameError during function declaration?

后端 未结 0 1290
北恋
北恋 2021-01-25 16:46

I am trying to build an embedded DSL in Python, which involves some customized type that the identifier not in the scope of Python like:

@convert_to_dsl
def func(         


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