'Return any remaining buffered data not yet returned by decompress.
Also checks for errors such as truncated input.
No other methods may be called on this object after `flush`.'

def flush(self):

    return self.decompressobj.flush()
