code: def iter_links(self, elements):
          '''Iterate the document root for links.
  
          Returns:
              iterable: A iterator of :class:`LinkedInfo`.
          '''
          for element in elements:
              if not isinstance(element, Element):
                  continue
  
              for link_infos in self.iter_links_element(element):
                  yield link_infof iter_links(self, elements):
          '''Iterate the document root for links.
  
          Returns:
              iterable: A iterator of :class:`LinkedInfo`.
          '''
          for element in elements:
              if not isinstance(element, Element):
                  continue
  
              for link_infos in self.iter_links_element(element):
                  yield link_infos
docs: Iterate the document root for links.
  
          Returns:
              iterable: A iterator of :class:`LinkedInfo`.