4 ms·
Generally true but MyPy has some support for protocols http://mypy.readthedocs.io/en/latest/class_basics.html#protocols-and-structural-subtyping http://mypy.rea
by agravier 8y ago
Generally true but MyPy has some support for protocols http://mypy.readthedocs.io/en/latest/class_basics.html#protocols-and-structural-subtyping http://mypy.readthedocs.io/en/latest/class_basics.html#proto...
- weberc2 8y agoWhoa, I didn’t realize structural subtyping had landed already. Thanks for sharing!