parameters: ()
return_statement: return ps
docstring: Return _ProcessList object for OS.
docstring_summary: Return _ProcessList object for OS.
docstring_tokens: Return _ProcessList object for OS .
function: def _get_lister():
      """Return _ProcessList object for OS."""
      if sys.platform.startswith("linux"):
          ps = _LinuxProcessList()
      elif sys.platform == "win32" or sys.platform == "cygwin":
          ps = _WindowsProcessList()
      elif sys.platform == "darwin":
          ps = _DarwinProcessList()
      else:
          raise OSError("Hang analyzer: Unsupported platform: {}".format(sys.platform))
  
      return ps
function_tokens: def _get_lister ( ) : if sys . platform . startswith ( "linux" ) : ps = _LinuxProcessList ( ) elif sys . platform == "win32" or sys . platform == "cygwin" : ps = _WindowsProcessList ( ) elif sys . platform == "darwin" : ps = _DarwinProcessList ( ) else : raise OSError ( "Hang analyzer: Unsupported platform: {}" . format ( sys . platform ) ) return ps