def init_opdata(l, from_mod, version=None, is_pypy=False):
if version:<EOL><INDENT>l['<STR_LIT>'] = version<EOL><DEDENT>l['<STR_LIT>'] = is_pypy<EOL>l['<STR_LIT>'] = cmp_op<EOL>l['<STR_LIT>'] = HAVE_ARGUMENT<EOL>if version <= <NUM_LIT>:<EOL><INDENT>l['<STR_LIT>'] = findlinestarts<EOL>l['<STR_LIT>']     = findlabels<EOL>l['<STR_LIT>'] = get_jump_targets<EOL>l['<STR_LIT>']  = get_jump_target_maps<EOL><DEDENT>else:<EOL><INDENT>l['<STR_LIT>'] = wordcode.findlinestarts<EOL>l['<STR_LIT>']     = wordcode.findlabels<EOL>l['<STR_LIT>'] = wordcode.get_jump_targets<EOL>l['<STR_LIT>']  = wordcode.get_jump_target_maps<EOL><DEDENT>l['<STR_LIT>'] = deepcopy(from_mod.opmap)<EOL>l['<STR_LIT>'] = deepcopy(from_mod.opname)<EOL>for field in fields2copy:<EOL><INDENT>l[field] = list(getattr(from_mod, field))<EOL><DEDENT>
Sets up a number of the structures found in Python's
    opcode.py. Python opcode.py routines assign attributes to modules.
    In order to do this in a modular way here, the local dictionary
    for the module is passed.