parameters: (key)
return_statement: return dict
docstring: Convert a registry key's values to a dictionary.
docstring_summary: Convert a registry key's values to a dictionary.
docstring_tokens: Convert a registry key s values to a dictionary .
function: def valuestodict(key):
      """Convert a registry key's values to a dictionary."""
      dict = {}
      size = _winreg.QueryInfoKey(key)[1]
      for i in range(size):
          data = _winreg.EnumValue(key, i)
          dict[data[0]] = data[1]
      return dict
function_tokens: def valuestodict ( key ) : dict = { } size = _winreg . QueryInfoKey ( key ) [ 1 ] for i in range ( size ) : data = _winreg . EnumValue ( key , i ) dict [ data [ 0 ] ] = data [ 1 ] return dict