def get_one_of(d, keys):
    """ Returns the (key, value) pair of the first key of `keys` found in `d`.
	"""
    for key in keys:
        try:
            return key, d[key]
        except KeyError:
            pass
    raise KeyError('None of the {} keys could be found'.format(len(keys)))
