Skip to content

Commit 13b560c

Browse files
Update doubly_linked_list_two.py
1 parent bb26048 commit 13b560c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/linked_list/doubly_linked_list_two.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"""
1111

1212
from dataclasses import dataclass
13-
from typing import Any, Self
13+
from typing import Self
1414

1515

1616
@dataclass
1717
class Node:
18-
data: Any
18+
data: int
1919
previous: Self | None = None
2020
next: Self | None = None
2121

0 commit comments

Comments
 (0)