python typing: type of function with varargs or kwargs

后端 未结 0 1245
遥遥无期
遥遥无期 2021-01-03 19:16

I have a function like this:

def f(a: str, b: Union[int, float], *xs: Tuple[str, str]) -> str
    ...

What is its type, expressed as

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