How can I specify the function type in my type hints?

preview_player
Показать описание

--

Music by Eric Matyas
Track title: Drifting Through My Dreams

--

Chapters
00:00 Question
00:27 Accepted answer (Score 640)
01:27 Answer 2 (Score 18)
01:51 Answer 3 (Score 12)
02:05 Answer 4 (Score 10)
03:09 Thank you

--

Full question

Question links:

Accepted answer links:

--

Content licensed under CC BY-SA

--

Tags
#python #python3x #typehinting #mypy #pythontyping

#avk47