In 10 class def self print im In 13 class def self print im In 16 clas

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
In [10]: class A:
def a(self):
print 'im A'
....:
In [13]: class B:
def a(self):
print 'im B'
....:
In [16]: class C(A,B):
pass
....:
In [18]: o=C()
In [19]: o.a()
im A
In [20]: class C(B,A):
pass
....:
In [22]: o=C()
In [23]: o.a()
im B