def __le__(self, other):
        """
        Allow I{less than or equal} comparison with another L{SerialNumber}
        instance.

        @type other: L{SerialNumber}
        @rtype: L{bool}
        """
        other = self._convertOther(other)
        return self == other or self < other

        Allow I{less than or equal} comparison with another L{SerialNumber}
        instance.

        @type other: L{SerialNumber}
        @rtype: L{bool}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/_rfc1982.py