Ticket #4000: trac4000_is.patch

File trac4000_is.patch, 638 bytes (added by was, 8 years ago)

there was another issue with an "is" in a doctest...

  • sage/rings/polynomial/polynomial_element.pyx

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1281552847 25200
    # Node ID 5f9be99e5b117c34d50c9a9c516ef5e0e1971082
    # Parent  73a3e0587d314a443db411156fbbdc7db0c84ef6
    trac 4000: is doctest
    
    diff --git a/sage/rings/polynomial/polynomial_element.pyx b/sage/rings/polynomial/polynomial_element.pyx
    a b  
    469469       
    470470        ::
    471471       
    472             sage: R.<x> = QQ[]
     472            sage: R.<x> = PolynomialRing(QQ, sparse=True)
    473473            sage: f = x^3-2*x
    474474            sage: f(x) is f
    475475            True