def interpret_map(m):
    """Interpret a map-like object.

    Accepts anything that dict() accepts for its first argument.

    Returns a list of pairs (key, value).

    """
    try:
        d = dict(m)
    except Exception:
        raise ValueError("not a map")
    return d.items()