def set_diff_opcode_generator_class(renderer):
    assert renderer

    globals()['_generator'] = renderer
Sets the DiffOpcodeGenerator class used for generating opcodes.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/diffviewer/opcode_generator.py/set_diff_opcode_generator_class