Ticket #7457: trac_7457-ref.patch

File trac_7457-ref.patch, 1.2 KB (added by jhpalmieri, 13 years ago)

apply on top of the other patch

  • sage/rings/quotient_ring.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1259218047 28800
    # Node ID 1058f4eb4754911cf2b0427b225661ca7ef96447
    # Parent  46d336f542b748b04c519625451021ae45b6a6f5
    ref patch for #7457
    
    diff -r 46d336f542b7 -r 1058f4eb4754 sage/rings/quotient_ring.py
    a b  
    3636def QuotientRing(R, I, names=None):
    3737    r"""
    3838    Creates a quotient ring of the ring `R` by the ideal `I`. Variables are
    39     labeled by ``names``. (If the quotient ring is a quotient of a
    40     polynomial ring.). If ``names`` isn't given, 'bar' will be appended to
     39    labeled by ``names`` (if the quotient ring is a quotient of a
     40    polynomial ring). If ``names`` isn't given, 'bar' will be appended to
    4141    the variable names in `R`.
    4242   
    4343    INPUTS:
  • sage/rings/ring.pyx

    diff -r 46d336f542b7 -r 1058f4eb4754 sage/rings/ring.pyx
    a b  
    692692            return False
    693693       
    694694        if proof:
    695             raise NotImplementedError
     695            return NotImplementedError
    696696        else:
    697697            return False
    698698