How to allow multiple types of arguments in function?

前端 未结 0 1254
南旧
南旧 2021-02-05 06:23
def extraction(content: str,  channels: List[Color]=[Color.Red]):
  pass

The second argument channels is a List of Color. However, what about if I also

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