def __eq__(self, other):
        """ base eq function """
        try:
            return (
                self.pageid == other.pageid
                and self.title == other.title
                and self.url == other.url
            )
        except AttributeError:
            return False
def __eq__ ( self , other ) : try : return ( self . pageid == other . pageid and self . title == other . title and self . url == other . url ) except AttributeError : return False
base eq function