You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, nodes are assumed to be all of the same type and sortable. Looking at this code again, I wonder if maybe we can just get rid of _sorted_tuple and do sth like this:
def__eq__(self, other):
try:
returnself.elements==other.elementsexceptAttributeError:
a, b=otherreturnself.elements== (a, b) orself.elements== (b, a)
The text was updated successfully, but these errors were encountered: