(self, other)
return list(reversed(self.partition)) < list(reversed(other.partition))
Return True if self is less than other when the partition
        is listed from smallest to biggest.

        Examples
        ========

        >>> from sympy.combinatorics.partitions import IntegerPartition
        >>> a = IntegerPartition([3, 1])
        >>> a < a
        False
        >>> b = a.next_lex()
        >>> a < b
        True
        >>> a == b
        False
Return True if self is less than other when the partition
        is listed from smallest to biggest.
Return True if self is less than other when the partition is listed from smallest to biggest .
def __lt__(self, other):
        """Return True if self is less than other when the partition
        is listed from smallest to biggest.

        Examples
        ========

        >>> from sympy.combinatorics.partitions import IntegerPartition
        >>> a = IntegerPartition([3, 1])
        >>> a < a
        False
        >>> b = a.next_lex()
        >>> a < b
        True
        >>> a == b
        False
        """
        return list(reversed(self.partition)) < list(reversed(other.partition))
def __lt__ ( self , other ) : return list ( reversed ( self . partition ) ) < list ( reversed ( other . partition ) )