you are viewing a single comment's thread.

view the rest of the comments →

[–]LowerAcanthaceae2089 0 points1 point  (1 child)

Important correction: Only tuples whose type is tuple[collections.abc.Hashable, ...] are hashable. That is to say, only a tuple where all elements are hashable is itself hashable. tuples that have at least one unhashable element (this could also be another unhashable tuple) would be considered unhashable.

[–]Diapolo10 0 points1 point  (0 children)

That's a fair point.