def next(self):
if self._iter_index == len(self.hdu_list):<EOL><INDENT>raise StopIteration<EOL><DEDENT>hdu = self.hdu_list[self._iter_index]<EOL>self._iter_index += <NUM_LIT:1><EOL>return hdu<EOL>
Move to the next iteration