Python's membership function is virtual function, we can see its power by the following functions:
Class A:
Def foo (Self): Print 'a'
Class B (a):
Def foo (Self): Print 'b'
For x in [a (), b ()]:
x.foo ()
The result we will get is
a
B