

def next(self):
    data = self.file.read(self.buffer_size)
    if data:
        return data
    raise StopIteration()

dataset/ETHPy150Open pecan/pecan/pecan/middleware/static.py FileWrapper.next/original