Skip to content

Commit 7a62b87

Browse files
Update doubly_linked_list_two.py
1 parent 767cbf3 commit 7a62b87

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: data_structures/linked_list/doubly_linked_list_two.py

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def set_tail(self, node: Node) -> None:
8484
if self.head is None:
8585
self.set_head(node)
8686
else:
87-
assert self.tail
8887
self.insert_after_node(self.tail, node)
8988

9089
def insert(self, value: int) -> None:

0 commit comments

Comments
 (0)