def inConnectionLost(self):
        """
        This will be called when stdin is closed.
        """

        This will be called when stdin is closed.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/protocol.py