Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/a/sage-HEAD/src/sage/structure/sequence.py   sage(Download)
    if isinstance(x, MPolynomialIdeal) and universe is None:
        universe = x.ring()
        x = x.gens()
 
    if universe is None:

src/s/a/sage-HEAD/src/sage/rings/polynomial/infinite_polynomial_element.py   sage(Download)
        from sage.rings.polynomial.symmetric_reduction import SymmetricReductionStrategy
        if hasattr(I,'gens'):
            I = I.gens()
        if (not I):
            return self

src/s/a/sage-HEAD/src/sage/rings/polynomial/symmetric_ideal.py   sage(Download)
        from sage.rings.polynomial.symmetric_reduction import SymmetricReductionStrategy
        if hasattr(I,'gens'):
            I = I.gens()
        if (not I):
            return self

src/s/a/sage-HEAD/src/sage/rings/polynomial/multi_polynomial_element.py   sage(Download)
 
        if isinstance(I, MPolynomialIdeal):
            I = I.gens()
 
        if not k.is_field():