def iter_ancestors(self):
node = self<EOL>while node.up is not None:<EOL><INDENT>yield node.up<EOL>node = node.up<EOL><DEDENT>
Iterates over the list of all ancestor nodes from 
current node to the current tree root.