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?
2 odpowiedzi
+ 3
simple code
class a:
a=1
class b(a):
....
class c(b):
...
print(c.a)
>>>1
0
thanks