class A(object):
class B(object): pass
class C(A.B): pass
results in
NameError: name 'A' is not defined
How do I inherit from B
in C
, if they are adjacent , both nested in A
(inner classes)?
class A(object):
class B(object): pass
class C(A.B): pass
results in
NameError: name 'A' is not defined
How do I inherit from B
in C
, if they are adjacent , both nested in A
(inner classes)?