(self)
return new_body
Collapse self.body to a single string; replace it and return it.
Collapse self.body to a single string; replace it and return it.
Collapse self . body to a single string ; replace it and return it .
def collapse_body(self):
        """Collapse self.body to a single string; replace it and return it."""
        new_body = b''.join(self.body)
        self.body = new_body
        return new_body
def collapse_body ( self ) : new_body = b'' . join ( self . body ) self . body = new_body return new_body