environment/lib/python2.7/site-packages/IPython/core/displayhook.py
def quiet(self):
        """Should we silence the display hook because of ';'?"""
        # do not print output if input ends in ';'
        try:
            cell = self.shell.history_manager.input_hist_parsed[self.prompt_count]
            if cell.rstrip().endswith(';'):
                return True
        except IndexError:
            # some uses of ipshellembed may fail here
            pass
        return False
def quiet(self):
        # do not print output if input ends in ';'
        try:
            cell = self.shell.history_manager.input_hist_parsed[self.prompt_count]
            if cell.rstrip().endswith(';'):
                return True
        except IndexError:
            # some uses of ipshellembed may fail here
            pass
        return False
def quiet ( self ) : # do not print output if input ends in ';' try : cell = self . shell . history_manager . input_hist_parsed [ self . prompt_count ] if cell . rstrip ( ) . endswith ( ';' ) : return True except IndexError : # some uses of ipshellembed may fail here pass return False
Should we silence the display hook because of ';'?
Should we silence the display hook because of ; ?