Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: