MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / __init__

Method __init__

data_structures/binary tree/AVLtree.py:29–33  ·  view source on GitHub ↗
(self,data)

Source from the content-addressed store, hash-verified

27
28class my_node:
29 def __init__(self,data):
30 self.data = data
31 self.left = None
32 self.right = None
33 self.height = 1
34 def getdata(self):
35 return self.data
36 def getleft(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected