chrome/installer/tools/shortcut_properties.py
def BuildPKeyToNameMapping():
  """Returns a dict mapping PKey values (a tuple of an IID and an int) to their
  names."""
  # The pscon module contains a number of well-known PKey values. Scan through
  # the module picking out anything that looks plausibly like a PROPERTYKEY (a
  # tuple of a PyIID and an int), and map it to its name in the module.
  return {item: name for (name, item) in pscon.__dict__.iteritems() if (
             isinstance(item, tuple) and
             len(item) == 2 and
             isinstance(item[1], int))}
Returns a dict mapping PKey values (a tuple of an IID and an int) to their
  names.
Returns a dict mapping PKey values (a tuple of an IID and an int) to their
names.
Returns a dict mapping PKey values ( a tuple of an IID and an int ) to their names .
def BuildPKeyToNameMapping():
  return {item: name for (name, item) in pscon.__dict__.iteritems() if (
             isinstance(item, tuple) and
             len(item) == 2 and
             isinstance(item[1], int))}
def BuildPKeyToNameMapping ( ) : return { item : name for ( name , item ) in pscon . __dict__ . iteritems ( ) if ( isinstance ( item , tuple ) and len ( item ) == 2 and isinstance ( item [ 1 ] , int ) ) }
Returns a dict mapping PKey values (a tuple of an IID and an int) to their
names.
Returns a dict mapping PKey values ( a tuple of an IID and an int ) to their names .
"""Returns a dict mapping PKey values (a tuple of an IID and an int) to their
  names.""" # The pscon module contains a number of well-known PKey values. Scan through # the module picking out anything that looks plausibly like a PROPERTYKEY (a # tuple of a PyIID and an int), and map it to its name in the module.