def _get_proc_create_time(proc):
 try:
  return (proc.create_time() if PSUTIL2 else proc.create_time)
 except (psutil.NoSuchProcess, psutil.AccessDenied):
  return None

def _get_proc_create_time ( proc ) : try : return ( proc . create_time ( ) if PSUTIL2 else proc . create_time ) except ( psutil . NoSuchProcess , psutil . AccessDenied ) : return None
returns the create_time of a process instance .