gin/config.py
def parse_value(value):
  """Parse and return a single Gin value."""
  if not isinstance(value, six.string_types):
    raise ValueError('value ({}) should be a string type.'.format(value))
  return config_parser.ConfigParser(value, ParserDelegate()).parse_value()
def parse_value(value):
  if not isinstance(value, six.string_types):
    raise ValueError('value ({}) should be a string type.'.format(value))
  return config_parser.ConfigParser(value, ParserDelegate()).parse_value()
def parse_value ( value ) : if not isinstance ( value , six . string_types ) : raise ValueError ( 'value ({}) should be a string type.' . format ( value ) ) return config_parser . ConfigParser ( value , ParserDelegate ( ) ) . parse_value ( )
Parse and return a single Gin value.
Parse and return a single Gin value .