def nextEvent(self):
        """Iterator method, return next JSON event from the stream, raises
        StopIteration() when complete."""
        try:
            return self.__next__()
        except __HOLE__:
            return None
dataset/ETHPy150Open Teradata/PyTd/teradata/pulljson.py/JSONPullParser.nextEvent