(self)
Return an iterator that will yield each chunk as a
        (*chunktype*, *content*) pair.
Return an iterator that will yield each chunk as a
        (*chunktype*, *content*) pair.
Return an iterator that will yield each chunk as a ( * chunktype * * content * ) pair .
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 == 'IEND':
                break
def chunks ( self ) : while True : t , v = self . chunk ( ) yield t , v if t == 'IEND' : break