News for hackers. Stuff that matters.
Re:Interfaces and Protocols in Python by joshuamorton on Friday March 19, 2021 @06:03PM (#26518586)
You have to say that builtins.set implements the interface. If there's a receiver protocol, it'll just accept a set of that matches the protocol, no registration required.

There are no comments on this comment yet.