MyGit

1.1

joowani/binarytree

版本发布时间: 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.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2016-10-10发行的版本