Would there be a simple way to fix this error while keeping all 3 levels?
Deriving ClassA from object does not help.
Thanks in advance!
>>> class classA:
... class classB(object):
... def __init__(self):
... self.b = 3
... class classC(classA.classB):
... def __init__(self):
... super(classC, self).__init__()
... self.c = 4
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in classA
File "<stdin>", line 5, in classB
NameError: name 'classA' is not defined
classA.classB.classCis no way shorter thanclassC...