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
solved A little help to understand Class hierarchy of Python? [closed]