environment/lib/python2.7/site-packages/IPython/core/ultratb.py
def show_exception_only(self, etype, evalue):
        """Only print the exception type and message, without a traceback.

        Parameters
        ----------
        etype : exception type
        value : exception value
        """
        # This method needs to use __call__ from *this* class, not the one from
        # a subclass whose signature or behavior may be different
        ostream = self.ostream
        ostream.flush()
        ostream.write('\n'.join(self.get_exception_only(etype, evalue)))
        ostream.flush()
def show_exception_only(self, etype, evalue):
        # This method needs to use __call__ from *this* class, not the one from
        # a subclass whose signature or behavior may be different
        ostream = self.ostream
        ostream.flush()
        ostream.write('\n'.join(self.get_exception_only(etype, evalue)))
        ostream.flush()
def show_exception_only ( self , etype , evalue ) : # This method needs to use __call__ from *this* class, not the one from # a subclass whose signature or behavior may be different ostream = self . ostream ostream . flush ( ) ostream . write ( '\n' . join ( self . get_exception_only ( etype , evalue ) ) ) ostream . flush ( )
Only print the exception type and message, without a traceback.

        Parameters
        ----------
        etype : exception type
        value : exception value
Only print the exception type and message without a traceback .