Hacker News new | ask | show | jobs
by BerislavLopac 1587 days ago
Python also has structural typing, often called duck typing - if you have a runtime-checkable protocol, an object will also match isinstance even when there is no inheritance.