MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / __init__

Method __init__

Lists.py:2–4  ·  view source on GitHub ↗
(self, initdata)

Source from the content-addressed store, hash-verified

1class Node:
2 def __init__(self, initdata):
3 self.data = initdata
4 self.next = None
5
6 def getData(self):
7 return self.data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected