def first_in_dict()

in uberpoet/util.py [0:0]


def first_in_dict(d):
    """Grabs the value returned by the first value in d.keys()"""
    if len(d) > 0:
        k = d.keys()[0]
        return d[k]
    return None