252 return False
253 if self.is_final or other.is_final:
254 return self.is_final == other.is_final
255 l, r = self.parts256 lo, ro = other.parts
257 return (l == lo and r == ro) or (l == ro and r == lo)
258
239 def __repr__(self):
240 if self.is_final:
241 return f"({self.value})"
242 l, r = self.parts243 return f"({l.__repr__()},{r.__repr__()})"
244
245 def __add__(self, other):
Possible unbalanced tuple unpacking detected: either left or right side of the statement has more labels. This can raise ValueError
while unpacking.