

def __next__(self):
    buffer = self.input.read(1024)
    if (buffer == b''):
        raise StopIteration
    return buffer

dataset/ETHPy150Open galaxyproject/pulsar/pulsar/web/framework.py FileIterator.__next__/original