def next(self):
        """Returns the next element in our iterator."""
        if not self._has_next:
            raise StopIteration
        result = self._next_element
        self._prime()
        return result
Returns the next element in our iterator.
recipes/Python/197530_Merging_two_sorted_iterators_insingle/recipe-197530.py