Skip to content

Commit 42a1f27

Browse files
committed
Add return type hint
1 parent 4c53ee9 commit 42a1f27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/linked_list/merge_sort_linked_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Node:
1515
1 2 3 4
1616
"""
1717

18-
def __init__(self, data: int):
18+
def __init__(self, data: int) -> None:
1919
self.data = data
2020
self.next: Node | None = None
2121

0 commit comments

Comments
 (0)