(keys, value=None)
return dict((key, value) for (key) in keys)
Convert some keys (iterable) to a dict.
Convert some keys (iterable) to a dict.
Convert some keys ( iterable ) to a dict .
def set2dict(keys, value=None):
  """Convert some keys (iterable) to a dict."""
  return dict((key, value) for (key) in keys)
def set2dict ( keys , value = None ) : return dict ( ( key , value ) for ( key ) in keys )