parameters: (proj_path, spec, version)
return_statement: return toolset
docstring: Get the platform toolset for the project.
  
    Arguments:
      proj_path: Path of the vcproj or vcxproj file to generate.
      spec: The target dictionary containing the properties of the target.
      version: The MSVSVersion object.
    Returns:
      the platform toolset string or None.
docstring_summary: Get the platform toolset for the project.
docstring_tokens: Get the platform toolset for the project .
function: def _GetMsbuildToolsetOfProject(proj_path, spec, version):
    """Get the platform toolset for the project.
  
    Arguments:
      proj_path: Path of the vcproj or vcxproj file to generate.
      spec: The target dictionary containing the properties of the target.
      version: The MSVSVersion object.
    Returns:
      the platform toolset string or None.
    """
    # Pluck out the default configuration.
    default_config = _GetDefaultConfiguration(spec)
    toolset = default_config.get('msbuild_toolset')
    if not toolset and version.DefaultToolset():
      toolset = version.DefaultToolset()
    return toolset
function_tokens: def _GetMsbuildToolsetOfProject ( proj_path , spec , version ) : # Pluck out the default configuration. default_config = _GetDefaultConfiguration ( spec ) toolset = default_config . get ( 'msbuild_toolset' ) if not toolset and version . DefaultToolset ( ) : toolset = version . DefaultToolset ( ) return toolset