def parse_identity(identity):
    """
    Parse an identity value and return the corresponding low-level value
    for Numpy.
    """
    try:
        identity = _identities[identity]
    except KeyError:
        raise ValueError("Invalid identity value %r" % (identity,))
    return identity

    Parse an identity value and return the corresponding low-level value
    for Numpy.
    
numba/np/ufunc/ufuncbuilder.py