Assume I have classes A1 and A2
and a class B that has elements of type A1/A2.
Now I have a class B'(B) (it inherits from B).
Can this class use A1′ and A2′ instead of A1 and A2,
can this new class somehow exchange the type of elements in the base class?
Normally I would say it’s impossible, but since this is about python… 😛
You mean like this?