Skip to content

1.1.0

Choose a tag to compare

@joowani joowani released this 10 Oct 06:10

Binary trees in a tree structure (as opposed to a list represenation) using binarytree.Node can now be displayed using Python's builtin print command, and has new methods inspect and to_list, which are equivalent to external functions inspect and convert respectively:

from binarytree import tree

my_tree = tree()
my_tree.to_list()
my_tree.inspect()
print(my_tree)  # No need to use pprint

Docstrings and documentation are also updated.