def next()

in sparkey/__init__.py [0:0]


    def next(self):
        """Return next element in the log.

        @return: (key, value, type) if there are remaining elements.
                 key and value are strings and type is a L{IterType}.

        @raise StopIteration: if there are no more entries in the log.

        """
        self._assert_open()
        _logiter_next(self._iter, self._log._log)
        return _iter_res(self._iter, self._log._log)