parameters: (const_index, const_list)
return_statement: return argval, repr(argval)
docstring: Helper to get optional details about const references
  
         Returns the dereferenced constant and its repr if the constant
         list is defined.
         Otherwise returns the constant index and its repr().
docstring_summary: Helper to get optional details about const references
docstring_tokens: Helper to get optional details about const references
function: def _get_const_info(const_index, const_list):
      """Helper to get optional details about const references
  
         Returns the dereferenced constant and its repr if the constant
         list is defined.
         Otherwise returns the constant index and its repr().
      """
      argval = const_index
      if const_list is not None:
          argval = const_list[const_index]
      return argval, repr(argval)
function_tokens: def _get_const_info ( const_index , const_list ) : argval = const_index if const_list is not None : argval = const_list [ const_index ] return argval , repr ( argval )