How can I make "isinstance" on Protocols also include function signatures and data-types?
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: Fantascape Looping
--
Chapters
00:00 Question
01:34 Accepted answer (Score 5)
02:45 Answer 2 (Score 0)
03:42 Thank you
--
Full question
https://stackoverflow.com/questions/6828...
Question links:
[PEP-544]: https://www.python.org/dev/peps/pep-0544/
Accepted answer links:
[module]: https://github.com/python/cpython/blob/m...
[typing.get_type_hints]: https://docs.python.org/3/library/typing...
[here]: https://docs.python.org/3/library/inspec...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #typehinting #pythontyping
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping
--
Chapters
00:00 Question
01:34 Accepted answer (Score 5)
02:45 Answer 2 (Score 0)
03:42 Thank you
--
Full question
https://stackoverflow.com/questions/6828...
Question links:
[PEP-544]: https://www.python.org/dev/peps/pep-0544/
Accepted answer links:
[module]: https://github.com/python/cpython/blob/m...
[typing.get_type_hints]: https://docs.python.org/3/library/typing...
[here]: https://docs.python.org/3/library/inspec...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #typehinting #pythontyping
#avk47