def METHOD_NAME(pnode):
    '''
    Return a list of the path nodes which lead from the
    root node to the specified path node.
    '''
    path = []
    while pnode is not None:
        path.append(pnode)
        pnode = pnode[0]
    path.reverse()
    return path