4 ms·
You might be interested in the PEP introducing structural subtyping to Python: https://www.python.org/dev/peps/pep-0544/ https://www.python.org/dev/peps/pep-054
by akaptur 5y ago
You might be interested in the PEP introducing structural subtyping to Python: https://www.python.org/dev/peps/pep-0544/ https://www.python.org/dev/peps/pep-0544/ - there, they use "structural subtyping" and "static duck typing" as synonymous.