(self, radical=False)
return S.One, self
Return the tuple (R, self/R) where R is the positive Rational
        extracted from self.

        Examples
        ========

        >>> from sympy import S
        >>> (S(-3)/2).as_content_primitive()
        (3/2, -1)

        See docstring of Expr.as_content_primitive for more examples.
Return the tuple (R, self/R) where R is the positive Rational
        extracted from self.
Return the tuple ( R self / R ) where R is the positive Rational extracted from self .
def as_content_primitive(self, radical=False):
        """Return the tuple (R, self/R) where R is the positive Rational
        extracted from self.

        Examples
        ========

        >>> from sympy import S
        >>> (S(-3)/2).as_content_primitive()
        (3/2, -1)

        See docstring of Expr.as_content_primitive for more examples.
        """

        if self:
            if self.is_positive:
                return self, S.One
            return -self, S.NegativeOne
        return S.One, self
def as_content_primitive ( self , radical = False ) : if self : if self . is_positive : return self , S . One return - self , S . NegativeOne return S . One , self