def __walk_to_list(self, direction = FORWARD, action = lambda x: x, *arguments):
        '''Obtain a list of objects resulting from applying action to
        each node, in the appropriate order.'''
        return_list = list()
        item_generator = self.__walk(direction = direction, action = action, *arguments)
        for item in item_generator: return_list.append(item)
        return return_list
Obtain a list of objects resulting from applying action to
        each node, in the appropriate order.
recipes/Python/577826_Yet_Another_Ordered_Dictionary/recipe-577826.py