The Python Oracle

How to annotate types of multiple return values?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Breezy Bay

--

Chapters
00:00 Question
00:51 Accepted answer (Score 448)
02:58 Thank you

--

Full question
https://stackoverflow.com/questions/4018...

Accepted answer links:
[What's the difference between lists and tuples?]: https://stackoverflow.com/questions/6267...
[has been added to most standard-library container types]: https://docs.python.org/3/whatsnew/3.9.h...
[PEP 585]: https://www.python.org/dev/peps/pep-0585...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #typehinting #pythontyping

#avk47