Skip to content

Commit 534ed59

Browse files
committed
be more explicit
1 parent 2c92535 commit 534ed59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpythonic/llist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def __eq__(self, other):
242242
return False
243243
def __hash__(self):
244244
try: # duck test linked list
245-
tpl = tuple(self)
245+
tpl = tuple(LinkedListIterator(self))
246246
except TypeError:
247247
tpl = (self.car, self.cdr)
248248
return hash(tpl)

0 commit comments

Comments
 (0)