Hacker News new | ask | show | jobs
Static Protocols in Python: Behaviour over Inheritance (patrickm.de)
2 points by sneakyPad 176 days ago
1 comments

To use it:

  from typing import Protocol
s/new //
Good catch! Thanks a lot, I updated the snippets.