def __init__(self, processProtocol):
        """
        Initialize our instance variables.

        @param processProtocol: a C{ProcessProtocol} to connect to ourself.
        """
        self.proto = processProtocol
        self.closed = False
        self.data = b''
        processProtocol.makeConnection(self)

        Initialize our instance variables.

        @param processProtocol: a C{ProcessProtocol} to connect to ourself.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_session.py