def beforeDaemonize():
        """
        Hook to be called immediately before daemonization. No reactor methods
        may be called until L{afterDaemonize} is called.

        @return: L{None}.
        """

        Hook to be called immediately before daemonization. No reactor methods
        may be called until L{afterDaemonize} is called.

        @return: L{None}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/interfaces.py