1.1
版本发布时间: 2016-10-10 14:10:36
joowani/binarytree最新发布版本:6.5.1(2022-03-25 00:59:02)
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.