parameters: (plist_string)
docstring: Wrapper to parse a plist from a string and catch any errors.
  
      Sometimes powermetrics will exit in the middle of writing it's output,
      empirically it seems that it always writes at least one sample in it's
      entirety so we can safely ignore any errors in it's output.
  
      Returns:
          Parser output on succesful parse, None on parse error.
docstring_summary: Wrapper to parse a plist from a string and catch any errors.
docstring_tokens: Wrapper to parse a plist from a string and catch any errors .
function: def _ParsePlistString(plist_string):
      """Wrapper to parse a plist from a string and catch any errors.
  
      Sometimes powermetrics will exit in the middle of writing it's output,
      empirically it seems that it always writes at least one sample in it's
      entirety so we can safely ignore any errors in it's output.
  
      Returns:
          Parser output on succesful parse, None on parse error.
      """
      try:
        return plistlib.readPlistFromString(plist_string)
      except xml.parsers.expat.ExpatError:
        return None
function_tokens: def _ParsePlistString ( plist_string ) : try : return plistlib . readPlistFromString ( plist_string ) except xml . parsers . expat . ExpatError : return None