environment/lib/python2.7/site-packages/IPython/external/pexpect/_pexpect.py
def sendintr(self):

        """This sends a SIGINT to the child. It does not require
        the SIGINT to be the first character on a line. """

        if hasattr(termios, 'VINTR'):
            char = termios.tcgetattr(self.child_fd)[6][termios.VINTR]
        else:
            # platform does not define VINTR so assume CTRL-C
            char = chr(3)
        self.send (char)
def sendintr(self):

        """This sends a SIGINT to the child. It does not require
        the SIGINT to be the first character on a line. """

        if hasattr(termios, 'VINTR'):
            char = termios.tcgetattr(self.child_fd)[6][termios.VINTR]
        else:
            # platform does not define VINTR so assume CTRL-C
            char = chr(3)
        self.send (char)
def sendintr ( self ) : if hasattr ( termios , 'VINTR' ) : char = termios . tcgetattr ( self . child_fd ) [ 6 ] [ termios . VINTR ] else : # platform does not define VINTR so assume CTRL-C char = chr ( 3 ) self . send ( char )
This sends a SIGINT to the child. It does not require
        the SIGINT to be the first character on a line.
This sends a SIGINT to the child . It does not require the SIGINT to be the first character on a line .