Protocols and duck typing
Coming soon
Define structural interfaces with typing.Protocol and collections.abc.
You'll be able to
- Implement structural subtyping with typing.Protocol
- Use standard abstract types like Iterable and Callable
- Compare Protocol structural typing with ABC nominal inheritance
Coming soon
This lesson is being written. The Telegram channel announces new lessons as they open.