@staticmethod
    def _write_header(f, version, flags, stream_id, opcode, length):
        """
        Write a CQL protocol frame header.
        """
        pack = v3_header_pack if 3 >= version else header_pack
        f.write(pack(version, flags, stream_id, opcode))
        write_int(f, length)
dataset/ETHPy150Open datastax/python-driver/cassandra/protocol.py/_ProtocolHandler._write_header/swapped operands of `>=`