def mccp_compress(protocol, data):
    if hasattr(protocol, 'zlib'):
        return protocol.zlib.compress(data) + protocol.zlib.flush(FLUSH)
    return data
Property: Get listening socket's address family
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/mccp.py/mccp_compress--crossover with--dataset/ETHPy150Open pika/pika/tests/acceptance/forward_server.py/ForwardServer.server_address_family