parameters: (query_string, keep_blank_values=True, encoding='utf-8')
return_statement: return pm
docstring: Build a params dictionary from a query_string.
  
      Duplicate key/value pairs in the provided query_string will be
      returned as {'key': [val1, val2, ...]}. Single key/values will
      be returned as strings: {'key': 'value'}.
docstring_summary: Build a params dictionary from a query_string.
docstring_tokens: Build a params dictionary from a query_string .
function: def parse_query_string(query_string, keep_blank_values=True, encoding='utf-8'):
      """Build a params dictionary from a query_string.
  
      Duplicate key/value pairs in the provided query_string will be
      returned as {'key': [val1, val2, ...]}. Single key/values will
      be returned as strings: {'key': 'value'}.
      """
      if image_map_pattern.match(query_string):
          # Server-side image map. Map the coords to 'x' and 'y'
          # (like CGI::Request does).
          pm = query_string.split(',')
          pm = {'x': int(pm[0]), 'y': int(pm[1])}
      else:
          pm = _parse_qs(query_string, keep_blank_values, encoding=encoding)
      return pm
function_tokens: def parse_query_string ( query_string , keep_blank_values = True , encoding = 'utf-8' ) : if image_map_pattern . match ( query_string ) : # Server-side image map. Map the coords to 'x' and 'y' # (like CGI::Request does). pm = query_string . split ( ',' ) pm = { 'x' : int ( pm [ 0 ] ) , 'y' : int ( pm [ 1 ] ) } else : pm = _parse_qs ( query_string , keep_blank_values , encoding = encoding ) return pm