def __init__(self, onOutReceived):
        """
        @param onOutReceived: A L{Deferred} to be fired as soon as data is
        received from stdout.
        """
        self.clearBuffer()
        self.onOutReceived = onOutReceived
        self.onProcessEnd = None
        self._expectingCommand = None
        self._processEnded = False

        @param onOutReceived: A L{Deferred} to be fired as soon as data is
        received from stdout.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_cftp.py