def _get_node_parent ( self , age , pos ) : return self . nodes [ age ] [ int ( pos / self . comp ) ]
elementtree get parent python
Get the parent node of node whch is located in tree s node list .
def _get_node_parent(self, age, pos):
        """Get the parent node of node, whch is located in tree's node list.

        Returns:
            object: The parent node.
        """
        return self.nodes[age][int(pos / self.comp)]