0

can a class inherit from imbricated super classes?

if Class C inherits attributes from Class B and B inherits from A, does Class C inherits attributes of A?

23rd Jul 2016, 5:50 PM
Cherif Chaker
Cherif Chaker - avatar
2 Answers
+ 3
simple code class a: a=1 class b(a): .... class c(b): ... print(c.a) >>>1
23rd Jul 2016, 8:09 PM
Andrey Leonov
Andrey Leonov - avatar
0
thanks
23rd Jul 2016, 8:11 PM
Cherif Chaker
Cherif Chaker - avatar