code: def consume(self, entrystream):
          
          for entry in entrystream:
              if isinstance(entry, tag.directive.Directive) and \
                      entry.type == 'sequence-region':
                  self.consume_seqreg(entry)
              elif isinstance(entry, tag.feature.Feature):
                  self.consume_feature(entry)
docs: Load a stream of entries into memory.
  
          Only Feature objects and sequence-region directives are loaded, all
          other entries are discarded.