Python type hints for function returning multiple return values
09:26 25 Sep 2019

How do I write the function declaration using Python type hints for function returning multiple return values?

Is the below syntax allowed?

def greeting(name: str) -> str, List[float], int :

   # do something

   return a,b,c
python python-typing