2.0.0
版本发布时间: 2017-08-07 17:19:53
joowani/binarytree最新发布版本:6.5.1(2022-03-25 00:59:02)
- Renamed parameter
balanced
tois_balanced
for functionbinarytree.tree
. - Renamed parameter
max
tois_max
for functionbinarytree.heap
. - Renamed function
binarytree.pprint
tobinarytree.show
. - Ranamed function
binarytree.setup
tobinarytree.customize
. - Added new utility functions using level-order node IDs:
binarytree.show_ids
,binarytree.show_all
,binarytree.subtree
,binarytree.prune
(view the README for more details and examples). - Added new utility function for getting leaf nodes:
binarytree.leafs
. - Removed the ability to pretty print the tree directly using the python
print
keyword (e.g.print(mytree)
). New ways to print them aremytree.show()
orshow(mytree)
.