Closed FloLangenfeld closed 4 years ago
Add a new method to class Tree to find ancestor at a given level, and the corresponding test function. Ex: my_tree.ancestor(nid, level=1) will return, for node nid, the ancestor of level 1 from my_tree
This is merge by #125 manually due to conflicts. Thanks @FloLangenfeld
Add a new method to class Tree to find ancestor at a given level, and the corresponding test function. Ex: my_tree.ancestor(nid, level=1) will return, for node nid, the ancestor of level 1 from my_tree