parameters: (value)
docstring: Parses value as an option value for the given name and returns
      the interpreted value.
  
      >>> parse_variable_value('True')
      True
      >>> parse_variable_value('true')
      'true'
      >>> parse_variable_value('us-ascii')
      'us-ascii'
      >>> parse_variable_value('str')
      'str'
      >>> parse_variable_value('123')
      123
      >>> parse_variable_value('1.23')
      1.23
docstring_summary: Parses value as an option value for the given name and returns
      the interpreted value.
docstring_tokens: Parses value as an option value for the given name and returns the interpreted value .
function: def parse_variable_value(value):
      """
      Parses value as an option value for the given name and returns
      the interpreted value.
  
      >>> parse_variable_value('True')
      True
      >>> parse_variable_value('true')
      'true'
      >>> parse_variable_value('us-ascii')
      'us-ascii'
      >>> parse_variable_value('str')
      'str'
      >>> parse_variable_value('123')
      123
      >>> parse_variable_value('1.23')
      1.23
  
      """
      if value == "True":
          return True
      elif value == "False":
          return False
      elif value == "None":
          return None
      elif value.isdigit():
          return int(value)
      else:
          try:
              value = float(value)
          except Exception:
              # Not a float
              pass
          return value
function_tokens: def parse_variable_value ( value ) : if value == "True" : return True elif value == "False" : return False elif value == "None" : return None elif value . isdigit ( ) : return int ( value ) else : try : value = float ( value ) except Exception : # Not a float pass return value