Comment by orf
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.
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.
Good point.