code: def iter_documents(self, fileids=None, categories=None, _destroy=False):
          
          doc_ids = self._filter_ids(fileids, categories)
          for doc in imap(self.get_document, doc_ids):
              yield doc
              if _destroy:
                  doc.destroy()
docs: Return an iterator over corpus documents.