code: def ancestors(self):
          
          ancestors = []
          node = self.ancestor
          while node is not None:
              ancestors.append(node)
              node = node.ancestor
          return ancestors
docs: A list of this browse node's ancestors in the browse node tree.
  
          :return:
              List of :class:`~.AmazonBrowseNode` objects.