Path 1: 13 calls (1.0)

bytes (13)

1def decompress(data):
2    """Decompress a gzip compressed string in one shot.
3    Return the decompressed string.
4    """
5    with GzipFile(fileobj=io.BytesIO(data)) as f:
6        return f.read()