def _get_mro(obj):
    """Get the method resolution order for an object.

    In other words, get the list of classes what are used to look up methods
    on the given object, in the order in which they'll be consulted.
    """
    try:
        return obj.__class__.__mro__
    except __HOLE__:
        return _get_oldstyle_mro(obj.__class__,set())
dataset/ETHPy150Open cloudmatrix/esky/esky/sudo/__init__.py/_get_mro