environment/lib/python2.7/site-packages/IPython/core/oinspect.py
def _getdef(self,obj,oname=''):
        """Return the definition header for any callable object.

        If any exception is generated, None is returned instead and the
        exception is suppressed."""

        try:
            # We need a plain string here, NOT unicode!
            hdef = oname + inspect.formatargspec(*getargspec(obj))
            return py3compat.unicode_to_str(hdef, 'ascii')
        except:
            return None
def _getdef(self,obj,oname=''):
        """Return the definition header for any callable object.

        If any exception is generated, None is returned instead and the
        exception is suppressed."""

        try:
            # We need a plain string here, NOT unicode!
            hdef = oname + inspect.formatargspec(*getargspec(obj))
            return py3compat.unicode_to_str(hdef, 'ascii')
        except:
            return None
def _getdef ( self , obj , oname = '' ) : try : # We need a plain string here, NOT unicode! hdef = oname + inspect . formatargspec ( * getargspec ( obj ) ) return py3compat . unicode_to_str ( hdef , 'ascii' ) except : return None
Return the definition header for any callable object.

        If any exception is generated, None is returned instead and the
        exception is suppressed.
Return the definition header for any callable object .