CodeQL library for Python
codeql/python-all 0.12.1 (changelog, source)

Member predicate ClassObject::getMroItem

Gets the MRO for this class. ClassObject sup occurs at index in the list of classes. this has an index of 1, the next class in the MRO has an index of 2, and so on.

ClassObject getMroItem(int index)