def path_iter(self, include_self=True):
if include_self:<EOL><INDENT>node = self<EOL><DEDENT>else:<EOL><INDENT>node = self.parent<EOL><DEDENT>while node is not None:<EOL><INDENT>yield node<EOL>node = node.parent<EOL><DEDENT>
Yields back the path from this node to the root node.