environment/lib/python2.7/site-packages/IPython/core/interactiveshell.py
def _ofind_property(self, oname, info):
        """Second part of object finding, to look for property details."""
        if info.found:
            # Get the docstring of the class property if it exists.
            path = oname.split('.')
            root = '.'.join(path[:-1])
            if info.parent is not None:
                try:
                    target = getattr(info.parent, '__class__')
                    # The object belongs to a class instance.
                    try:
                        target = getattr(target, path[-1])
                        # The class defines the object.
                        if isinstance(target, property):
                            oname = root + '.__class__.' + path[-1]
                            info = Struct(self._ofind(oname))
                    except AttributeError: pass
                except AttributeError: pass

        # We return either the new info or the unmodified input if the object
        # hadn't been found
        return info
def _ofind_property(self, oname, info):
        if info.found:
            # Get the docstring of the class property if it exists.
            path = oname.split('.')
            root = '.'.join(path[:-1])
            if info.parent is not None:
                try:
                    target = getattr(info.parent, '__class__')
                    # The object belongs to a class instance.
                    try:
                        target = getattr(target, path[-1])
                        # The class defines the object.
                        if isinstance(target, property):
                            oname = root + '.__class__.' + path[-1]
                            info = Struct(self._ofind(oname))
                    except AttributeError: pass
                except AttributeError: pass

        # We return either the new info or the unmodified input if the object
        # hadn't been found
        return info
def _ofind_property ( self , oname , info ) : if info . found : # Get the docstring of the class property if it exists. path = oname . split ( '.' ) root = '.' . join ( path [ : - 1 ] ) if info . parent is not None : try : target = getattr ( info . parent , '__class__' ) # The object belongs to a class instance. try : target = getattr ( target , path [ - 1 ] ) # The class defines the object. if isinstance ( target , property ) : oname = root + '.__class__.' + path [ - 1 ] info = Struct ( self . _ofind ( oname ) ) except AttributeError : pass except AttributeError : pass # We return either the new info or the unmodified input if the object # hadn't been found return info
Second part of object finding, to look for property details.
Second part of object finding to look for property details .