Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Static Protocols in Python: Behaviour over Inheritance
(opens in new tab)
(patrickm.de)
2 points
sneakyPad
5mo ago
3 comments
Save
Share
3 comments
2 comments · 1 top-level
top
newest
oldest
go26
5mo ago
· 1 in thread
To use it:
from typing import Protocol
s/new //
sneakyPad
OP
5mo ago
Good catch! Thanks a lot, I updated the snippets.
j
/
k
navigate · click thread line to collapse