def __gt__(self, other):
        """
        :param other: an `IPAddress` or `IPNetwork` object.

        :return: ``True`` if this `IPAddress` or `IPNetwork` object is
            greater than ``other``, ``False`` otherwise.
        """
        try:
            return self.sort_key() > other.sort_key()
        except (__HOLE__, TypeError):
            return NotImplemented
dataset/ETHPy150Open drkjam/netaddr/netaddr/ip/__init__.py/BaseIP.__gt__