def getmro(cls):
    "Return tuple of base classes (including cls) in method resolution order."
    if hasattr(cls, "__mro__"):
        return cls.__mro__
    else:
        result = []
        _searchbases(cls, result)
        return tuple(result)
Return tuple of base classes (including cls) in method resolution order.
debugger/src/_pydev_imps/_pydev_inspect.py