def next(self):
        """Return the next service

        self.current() will continue to return that service until the
        next call to this method."""
        try:
            self._current = self.services.pop(0)
        except __HOLE__:
            raise StopIteration
        else:
            return self._current
dataset/ETHPy150Open CollabQ/CollabQ/openid/yadis/manager.py/YadisServiceManager.next