def __next__(self):
    try:
        return_coding = self._data[self._current_pos]
    except IndexError:
        self._current_pos = 0
        raise StopIteration
    else:
        self._current_pos += 1
        return return_coding
def __next__(self):
    try:
        return_coding = self._data[self._current_pos]
    except IndexError:
        self._current_pos = 0
        raise StopIteration
    else:
        self._current_pos += 1
        return return_coding