Skip to content

Commit 2ef83ae

Browse files
LinkedListNode doc updated (#172)
Co-authored-by: Harsheet-saxena <harshsaxena1999@gmail.com>
1 parent eadae21 commit 2ef83ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pydatastructs/utils/misc_util.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ class LinkedListNode(Node):
158158
159159
data
160160
Any valid data to be stored in the node.
161+
links
162+
List of names of attributes which should be used as links to other nodes.
163+
addrs
164+
List of address of nodes to be assigned to each of the attributes in links.
161165
"""
162166
def __new__(cls, data=None, links=['next'], addrs=[None]):
163167
obj = Node.__new__(cls)

0 commit comments

Comments
 (0)