Python mypy type error with Union of callable and list of callable converted to list of callable

后端 未结 0 1414
遇见更好的自我
遇见更好的自我 2021-02-06 00:19

The argument hook can either be a function or a list of function. If it\'s a function, I convert it to a list so I can assume it\'s a list later.



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