Skip to content

Commit 991c2a7

Browse files
Update datastructures/lrucache/with_internal_linked_list.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent aa9068c commit 991c2a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datastructures/lrucache/with_internal_linked_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __init__(self, capacity: int):
1111
self.head = DoubleNode(0)
1212
self.tail = DoubleNode(0)
1313
self.head.next = self.tail
14-
self.tail.prev = self.head
14+
self.tail.previous = self.head
1515

1616
@staticmethod
1717
def __delete_node(node: DoubleNode):

0 commit comments

Comments
 (0)