Skip to content

Commit a6ec61b

Browse files
authored
Fix Python syntax error
1 parent 81f71e5 commit a6ec61b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/doubly_linked_list/doubly_linked_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Node:
2-
def __init__(self, data = None, next, previous = None):
2+
def __init__(self, data = None, next = None, previous = None):
33
self.data = data
4-
self.next = None
4+
self.next = next
55
self.previous = previous
66

77
class Lista:

0 commit comments

Comments
 (0)