Ticket #8993: 8993_poly_quotient_in_singular.p1.patch

File 8993_poly_quotient_in_singular.p1.patch, 1.2 KB (added by SimonKing, 9 years ago)

Avoid "import sage" according to the reviewer's request - apply after first patch

  • sage/rings/polynomial/polynomial_quotient_ring_element.py

    # HG changeset patch
    # User Simon King <simon.king@nuigalway.ie>
    # Date 1274774361 -3600
    # Node ID b313d8ee54b718e02bca1397f9866df086cf7537
    # Parent  44e46a6e2ceb79d44ca3061ae31afbfd5ab1551d
    #8993: Avoid "import sage".
    
    diff -r 44e46a6e2ceb -r b313d8ee54b7 sage/rings/polynomial/polynomial_quotient_ring_element.py
    a b  
    8383import sage.rings.commutative_ring_element as commutative_ring_element
    8484import sage.rings.number_field.number_field as number_field
    8585import sage.rings.number_field.number_field_rel as number_field_rel
    86 import sage
     86import sage.rings.polynomial.polynomial_singular_interface as polynomial_singular_interface
    8787
    88 class PolynomialQuotientRingElement(sage.rings.polynomial.polynomial_singular_interface.Polynomial_singular_repr,commutative_ring_element.CommutativeRingElement):
     88class PolynomialQuotientRingElement(polynomial_singular_interface.Polynomial_singular_repr,commutative_ring_element.CommutativeRingElement):
    8989    """
    9090    Element of a quotient of a polynomial ring.
    9191