(element, true=object(), false=object())
return element
A hack to make True and 1 and False and 0 unique for ``uniq``.
A hack to make True and 1 and False and 0 unique for ``uniq``.
A hack to make True and 1 and False and 0 unique for uniq .
def unbool(element, true=object(), false=object()):
    """
    A hack to make True and 1 and False and 0 unique for ``uniq``.
    """

    if element is True:
        return true
    elif element is False:
        return false
    return element
def unbool ( element , true = object ( ) , false = object ( ) ) : if element is True : return true elif element is False : return false return element