Re:Show HN: Rust-Like Traits in Python
by BerislavLopac on Sunday November 21, 2021 @08:37PM
(#29301753)
Protocols can be used for runtime checks (isinstance), even for classes that are not explicitly annotated with them - that's the main point of structural subtyping.
[ Parent
| on HN ]
There are no comments on this comment yet.