3 ms·
It’s common to have a list of objects with different types, but which implement the same interface. Duck typing of this kind is core to Python.
by orf 2y ago
It’s common to have a list of objects with different types, but which implement the same interface. Duck typing of this kind is core to Python.
- bpshaver 2y agoGood point.