Ticket #12768: trac_12768-rebase-to-13109.patch

File trac_12768-rebase-to-13109.patch, 1.3 KB (added by jhpalmieri, 9 years ago)
  • sage/schemes/elliptic_curves/ell_rational_field.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1341082106 25200
    # Node ID db88aea3b804b2232551a861f6096e5be811f287
    # Parent  351e9f76d71033ece2786b04196b33b04f06d332
    rebase 12768 to 13109: fix a deprecation
    
    diff --git a/sage/schemes/elliptic_curves/ell_rational_field.py b/sage/schemes/elliptic_curves/ell_rational_field.py
    a b class EllipticCurve_rational_field(Ellip 
    39783978        if order:
    39793979            isoclass = isoclass.reorder(order)
    39803980        if use_tuple:
    3981             from sage.misc.misc import deprecation
    3982             deprecation("""For elliptic curves E over Q, isogeny_class(use_tuple=False) returns a class
     3981            from sage.misc.superseded import deprecation
     3982            deprecation(12768, """For elliptic curves E over Q, isogeny_class(use_tuple=False) returns a class
    39833983that has methods producing the isogeny graph and list of lists of isogenies.
    3984 use_tuple=True (currently default) is deprecated.""", "Sage Version 5.0")
     3984use_tuple=True (currently default) is deprecated.""")
    39853985            # After a year or so (in May 2013) we should switch the default to use_tuple=False as the default and deprecate
    39863986            # the keyword argument
    39873987            if return_maps: