News for hackers. Stuff that matters.
Re:Crimes with Python's pattern matching by BerislavLopac on Tuesday August 02, 2022 @12:59AM (#32315259)
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.

There are no comments on this comment yet.