From 42a1f27126be9cc1c36942cc3fd7a70db24d4671 Mon Sep 17 00:00:00 2001 From: Hardik Pawar Date: Thu, 3 Oct 2024 11:32:07 +0530 Subject: [PATCH] Add return type hint --- data_structures/linked_list/merge_sort_linked_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/linked_list/merge_sort_linked_list.py b/data_structures/linked_list/merge_sort_linked_list.py index d7ead80f9..844bbae90 100644 --- a/data_structures/linked_list/merge_sort_linked_list.py +++ b/data_structures/linked_list/merge_sort_linked_list.py @@ -15,7 +15,7 @@ class Node: 1 2 3 4 """ - def __init__(self, data: int): + def __init__(self, data: int) -> None: self.data = data self.next: Node | None = None