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

Method __repr__

data_compression/huffman.py:12–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 self.bitstring: dict[str, str] = {}
11
12 def __repr__(self) -> str:
13 return f"{self.letter}:{self.freq}"
14
15
16class TreeNode:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected