def next(self):
        self.open_read()
        data = self.resp.read(self.BufferSize)
        if not data:
            self.close()
            raise StopIteration
        return data
By providing a next method, the key object supports use as an iterator.
dataset/ETHPy150Open darcyliu/storyboard/boto/s3/key.py/Key.next