parameters: (self)
docstring: Exit the daemon process context.
              :Return: ``None``
  
              Close the daemon context. This performs the following steps:
  
              * If this instance's `is_open` property is false, return
                immediately. This makes it safe to call `close` multiple times
                on an instance.
  
              * If the `pidfile` attribute is not ``None``, exit its context
                manager.
  
              * Mark this instance as closed (for the purpose of future `open`
                and `close` calls).
docstring_summary: Exit the daemon process context.
              :Return: ``None``
docstring_tokens: Exit the daemon process context . : Return : None
function: def close(self):
          """ Exit the daemon process context.
              :Return: ``None``
  
              Close the daemon context. This performs the following steps:
  
              * If this instance's `is_open` property is false, return
                immediately. This makes it safe to call `close` multiple times
                on an instance.
  
              * If the `pidfile` attribute is not ``None``, exit its context
                manager.
  
              * Mark this instance as closed (for the purpose of future `open`
                and `close` calls).
  
              """
          if not self.is_open:
              return
  
          if self.pidfile is not None:
              # Follow the interface for telling a context manager to exit,
              # <URL:http://docs.python.org/library/stdtypes.html#typecontextmanager>.
              self.pidfile.__exit__(None, None, None)
  
          self._is_open = False
function_tokens: def close ( self ) : if not self . is_open : return if self . pidfile is not None : # Follow the interface for telling a context manager to exit, # <URL:http://docs.python.org/library/stdtypes.html#typecontextmanager>. self . pidfile . __exit__ ( None , None , None ) self . _is_open = False