def read(self):
        try:
            end = self.items.pop()
        except __HOLE__:
            cmd_title('All items have been read.')
            return None
        if DEBUG:
            print('Reading new item from stream... {}\n'.format(end))
            print('[CURRENT STREAM] {}\n'.format(' -- '.join(self.items)))
        self.total_read += 1
        return end
dataset/ETHPy150Open christabor/MoAL/MOAL/data_structures/abstract/stream.py/Stream.read