News for hackers. Stuff that matters.
Re:Show HN: Rust-Like Traits in Python by heavyset_go on Sunday November 21, 2021 @07:47PM (#29301391)
> Whereas this module is intended both for interfaces (much like ABCs) and implementation re-use (see Rust's "blanket implementations")

That's the role typing.Protocol plays, as well. Protocols are like ABCs, but using structural typing.

There are no comments on this comment yet.