Node.py
def _get_parent_at_height(self, height=1):
        " Support function that returns the parent node at the desired height "

        par = self.up
        climb = 0
        while (par is not None and climb < height):
            climb += 1
            par = par.up
        return par
 Support function that returns the parent node at the desired height 
Support function that returns the parent node at the desired height
Support function that returns the parent node at the desired height
def _get_parent_at_height(self, height=1):
        par = self.up
        climb = 0
        while (par is not None and climb < height):
            climb += 1
            par = par.up
        return par
def _get_parent_at_height ( self , height = 1 ) : par = self . up climb = 0 while ( par is not None and climb < height ) : climb += 1 par = par . up return par
Support function that returns the parent node at the desired height
Support function that returns the parent node at the desired height
" Support function that returns the parent node at the desired height "
self
height