Question 71
HardWhat is a Python Protocol (typing.Protocol) used for?
- A.
Abstract base classes that must be subclassed
- B.
Network protocols
- C.
Describing structural interfaces: any class with the right methods matches, without inheriting
- D.
Running code in parallel
Sign up free to see the answer and a step-by-step explanation.