Ticket #13100: trac13100-rebase-on-13109.patch

File trac13100-rebase-on-13109.patch, 1.4 KB (added by jhpalmieri, 7 years ago)

fix a deprecation

  • sage/schemes/elliptic_curves/ell_rational_field.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1341078339 25200
    # Node ID 73e578fcceee7966497a553f42d7ae76b1fbfc72
    # Parent  351e9f76d71033ece2786b04196b33b04f06d332
    rebase #13100 on top of #13109: fix usage of deprecation in ell_rational_field
    
    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(13100, """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: