

def __or__(self, other):
    if ((other is False) or (other is self)):
        return self
    elif (other is True):
        return True
    return NotImplemented

dataset/ETHPy150Open jek/flatland/flatland/util/base.py Maybe.__or__/original