Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
LinkedListNode doc updated
  • Loading branch information
Harsheet-saxena committed Mar 19, 2020
commit 0c32fae5da27f44b59208ebd1897def1fbdafe89
4 changes: 4 additions & 0 deletions pydatastructs/utils/misc_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ class LinkedListNode(Node):

data
Any valid data to be stored in the node.
links
List of names of attributes which should be used as links to other nodes.
addrs
List of address of nodes to be assigned to each of the attributes in links.
"""
def __new__(cls, data=None, links=['next'], addrs=[None]):
obj = Node.__new__(cls)
Expand Down