def processes(self):
        """
        Processes as dict of tuples

        @return: Dict of process name to monitored processes as tuples
        """
        return {name: process.toTuple()
                for name, process in self._processes.items()}

        Processes as dict of tuples

        @return: Dict of process name to monitored processes as tuples
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/runner/procmon.py