[Solved] A little help to understand Class hierarchy of Python? [closed]

[ad_1]

Try: BaseException.__bases__ to get the parent(s). __bases__ attribute will give you a tuple of all the parent classes, in this case the parent is object. And read the docs.

0

[ad_2]

solved A little help to understand Class hierarchy of Python? [closed]