pdoc/doc.py
def is_inherited(self) -> bool:
        """
        If True, the doc object is inherited from another location.
        This most commonly refers to methods inherited by a subclass,
        but can also apply to variables that are assigned a class defined
        in a different module.
        """
        return (self.modulename, self.qualname) != self.taken_from

        If True, the doc object is inherited from another location.
        This most commonly refers to methods inherited by a subclass,
        but can also apply to variables that are assigned a class defined
        in a different module.
        
If True, the doc object is inherited from another location.
This most commonly refers to methods inherited by a subclass,
but can also apply to variables that are assigned a class defined
in a different module.
If True the doc object is inherited from another location . This most commonly refers to methods inherited by a subclass but can also apply to variables that are assigned a class defined in a different module .
def is_inherited(self) -> bool:
        return (self.modulename, self.qualname) != self.taken_from
def is_inherited ( self ) -> bool : return ( self . modulename , self . qualname ) != self . taken_from
If True, the doc object is inherited from another location.
If True the doc object is inherited from another location .
"""
        If True, the doc object is inherited from another location.
        This most commonly refers to methods inherited by a subclass,
        but can also apply to variables that are assigned a class defined
        in a different module.
        """
self