def chunks(self):
        """Return an iterator that will yield each chunk as a
        (*chunktype*, *content*) pair.
        """

        while True:
            t, v = self.chunk()
            yield t, v
            if t == b'IEND':
                break
def chunks ( self ) : while True : t , v = self . chunk ( ) yield t , v if t == b'IEND' : break
Return an iterator that will yield each chunk as a
        (*chunktype*, *content*) pair.