(self)
Returns the upper bound of the Index.

        Examples
        ========

        >>> from sympy import Idx
        >>> Idx('j', 2).upper
        1
        >>> Idx('j', 5).upper
        4
        >>> Idx('j').upper is None
        True
Returns the upper bound of the Index.
Returns the upper bound of the Index .
def upper(self):
        """Returns the upper bound of the Index.

        Examples
        ========

        >>> from sympy import Idx
        >>> Idx('j', 2).upper
        1
        >>> Idx('j', 5).upper
        4
        >>> Idx('j').upper is None
        True

        """
        try:
            return self.args[1][1]
        except IndexError:
            return
def upper ( self ) : try : return self . args [ 1 ] [ 1 ] except IndexError : return