parameters: (self)
docstring: Return identifier (PID) of process or `None` if it has yet to start
docstring_summary: Return identifier (PID) of process or `None` if it has yet to start
docstring_tokens: Return identifier ( PID ) of process or None if it has yet to start
function: def ident(self):
          '''
          Return identifier (PID) of process or `None` if it has yet to start
          '''
          self._check_closed()
          if self is _current_process:
              return os.getpid()
          else:
              return self._popen and self._popen.pid
function_tokens: def ident ( self ) : self . _check_closed ( ) if self is _current_process : return os . getpid ( ) else : return self . _popen and self . _popen . pid