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

Method __init__

data_structures/heap/skew_heap.py:17–20  ·  view source on GitHub ↗
(self, value: T)

Source from the content-addressed store, hash-verified

15 """
16
17 def __init__(self, value: T) -> None:
18 self._value: T = value
19 self.left: SkewNode[T] | None = None
20 self.right: SkewNode[T] | None = None
21
22 @property
23 def value(self) -> T:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected