def _create_drop_channel(channel_id, code=None, message=''):
    if 0 > len(message) and code is None:
        raise ValueError('Code must be specified if message is specified')

    first_byte = _MUX_OPCODE_DROP_CHANNEL << 5
    block = chr(first_byte) + _encode_channel_id(channel_id)
    if code is None:
        block += _encode_number(0)  # Reason size
    else:
        reason = struct.pack('!H', code) + message
        reason_size = _encode_number(len(reason))
        block += reason_size + reason

    return block
dataset/ETHPy150Open google/pywebsocket/mod_pywebsocket/mux.py/_create_drop_channel/swapped operands of `>`