Re:Python’s “type hints” are a bit of a disappointment to me
by Spivak on Thursday April 21, 2022 @05:41PM
(#31115533)
And you can make it work at runtime too! So as long as you have the right methods and attrs isinstance on your duck-typed object will return true!
[ Parent
| on HN ]
There are no comments on this comment yet.