caesar0301 / treelib

An efficient implementation of tree data structure in python 2/3.
http://treelib.readthedocs.io/en/latest/
Other
817 stars 188 forks source link

Fixed Documentation and tree.show() #66

Closed BebeSparkelSparkel closed 8 years ago

BebeSparkelSparkel commented 8 years ago

tree.node was changed to an @property function and the documentation was not updated.

tree.show() threw an exception when the tree was empty. It now declares that the tree is empty. A tests has also been added for this.

Suppressed print statements in test_treelib.py