Skip to content

Commit 978c9b5

Browse files
Update doubly_linked_list_two.py
1 parent 2ac2c9c commit 978c9b5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

data_structures/linked_list/doubly_linked_list_two.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,7 @@ def create_linked_list() -> None:
237237
8
238238
9
239239
>>> linked_list = LinkedList()
240-
>>> linked_list
241-
LinkedList(head=None, tail=None)
242-
>>> str(linked_list)
243-
''
244240
>>> linked_list.insert_at_position(position=1, value=10)
245-
>>> linked_list
246-
LinkedList(head=Node(data=10, previous=None, next=None), tail=Node(data=10, previous=None, next=None)) # noqa: E501
247241
>>> str(linked_list)
248242
'10'
249243
>>> linked_list.insert_at_position(position=2, value=20)

0 commit comments

Comments
 (0)