parameters: (key_list)
docstring: Convert a list of strings of the form 'foo:bar' to a dictionary.
  
      Splits strings of the form 'foo:bar quux:quax' into separate entries.
docstring_summary: Convert a list of strings of the form 'foo:bar' to a dictionary.
docstring_tokens: Convert a list of strings of the form foo : bar to a dictionary .
function: def key_list_to_dict(key_list):
      """
      Convert a list of strings of the form 'foo:bar' to a dictionary.
  
      Splits strings of the form 'foo:bar quux:quax' into separate entries.
      """
      try:
          key_list = [key for s in key_list for key in s.split(' ')]
          return dict(map(lambda s: [t.strip() for t in s.split(':')], key_list))
      except ValueError as e:
          raise UsageError("Invalid 'key:value' list: '%s'" % ' '.join(key_list))
function_tokens: def key_list_to_dict ( key_list ) : try : key_list = [ key for s in key_list for key in s . split ( ' ' ) ] return dict ( map ( lambda s : [ t . strip ( ) for t in s . split ( ':' ) ] , key_list ) ) except ValueError as e : raise UsageError ( "Invalid 'key:value' list: '%s'" % ' ' . join ( key_list ) )