def __eq__(self, other):
    return (isinstance(other, In) and (other.i == self.i) and (other.typ == self.typ))
def __eq__(self, other):
    return (isinstance(other, In) and (other.i == self.i) and (other.typ == self.typ))