Y
Hacker News
new
|
ask
|
show
|
jobs
Static Protocols in Python: Behaviour over Inheritance
(
patrickm.de
)
2 points
by
sneakyPad
176 days ago
1 comments
go26
176 days ago
To use it:
from typing import Protocol
s/new //
link
sneakyPad
176 days ago
Good catch! Thanks a lot, I updated the snippets.
link