Skip to content

Commit 42a1f27

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/linked_list/merge_sort_linked_list.py

+1-1
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)