Say I have the following inheritance relationship.

```
object->Car->SUV

```

`object` is the father of `Car` and `Car` is the father of the `SUV`.

How can I use Python programs to get such relationship information,like use `dir` to get the attributes of a class