def stop(self):
        """
        Stop trapping WINCH signals and restore the previous WINCH handler.
        """

        if self.original_handler is not None:
            signal.signal(signal.SIGWINCH, self.original_handler)
dataset/ETHPy150Open d11wtq/dockerpty/dockerpty/pty.py/WINCHHandler.stop/original