pythonclassinheritancepydevhierarchy

How do I inspect a Python's class hierarchy?


Assuming I have a class X, how do I check which is the base class/classes, and their base class/classes etc?

I'm using Eclipse with PyDev, and for Java for example you could type CTRL + T on a class' name and see the hierarchy, like:

java.lang.Object
   java.lang.Number
       java.lang.Integer

Is it possible for Python?

If not possible in Eclipse PyDev, where can I find this information?


Solution

  • Hit f4 with class name highlighted to open hierarchy view.