Skip to content

Commit 25257ef

Browse files
committed
minor change fix
1 parent 30c9882 commit 25257ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_compression/huffman.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def traverse_tree(root: Letter | TreeNode, bitstring: str) -> list[Letter]:
6868
Recursively traverse the Huffman Tree to set each
6969
Letter's bitstring dictionary, and return the list of Letters
7070
71-
>>> letters = [Letter('a', 2), Letter('b', 3), Letter('c', 4)]
71+
>>> letters = [Letter('a', 2), Letter('b', 3), Letter('c', 4)]
7272
>>> root = build_tree(letters)
7373
>>> result = traverse_tree(root, "")
7474
>>> sorted([l.letter for l in result])

0 commit comments

Comments
 (0)