Express relationship between the argument and return type by type hints

前端 未结 0 1976
我寻月下人不归
我寻月下人不归 2020-12-31 17:36

I want to give proper type hints to the following function:

def convert(value):
    if isinstance(value, str):
                 


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