def _unpack_opargs(code):
 if (sys.version_info[0] < 3):
  code = list(map(ord, code))
 extended_arg = 0
 n = len(code)
 offset = i = 0
 while (i < n):
  op = code[i]
  i += CODE_LEN
  if (op >= HAVE_ARGUMENT):
   arg = (code[i] | extended_arg)
   for j in range(ARG_LEN):
    arg |= (code[(i + j)] << (8 * j))
   i += ARG_LEN
   if (op == EXTENDED_ARG):
    extended_arg = (arg << (8 * ARG_LEN))
    continue
  else:
   arg = None
   i += NO_ARG_LEN
  extended_arg = 0
  (yield (offset, op, arg, i))
  offset = i

def _unpack_opargs ( code ) : if ( sys . version_info [ 0 ] < 3 ) : code = list ( map ( ord , code ) ) extended_arg = 0 n = len ( code ) offset = i = 0 while ( i < n ) : op = code [ i ] i += CODE_LEN if ( op >= HAVE_ARGUMENT ) : arg = ( code [ i ] | extended_arg ) for j in range ( ARG_LEN ) : arg |= ( code [ ( i + j ) ] << ( 8 * j ) ) i += ARG_LEN if ( op == EXTENDED_ARG ) : extended_arg = ( arg << ( 8 * ARG_LEN ) ) continue else : arg = None i += NO_ARG_LEN extended_arg = 0 ( yield ( offset , op , arg , i ) ) offset = i
returns a 4-int-tuple of .