Ticket #14271: trac_14271-review-fc.patch

File trac_14271-review-fc.patch, 2.1 KB (added by chapoton, 8 years ago)
  • sage/graphs/graph_generators.py

    # HG changeset patch
    # User Frederic Chapoton <chapoton at math.univ-lyon1.fr>
    # Date 1363808809 -3600
    # Node ID a313b816190767d8b9100cc24e32b723ebe7c158
    # Parent  ba6714d7079b60bc9951f6908bebbad93388c333
    trac #14271 sort by alphabetic order
    
    diff --git a/sage/graphs/graph_generators.py b/sage/graphs/graph_generators.py
    a b def __append_to_doc(methods): 
    9898     "ChvatalGraph",
    9999     "ClebschGraph",
    100100     "CoxeterGraph",
     101     "DesarguesGraph",
    101102     "DoubleStarSnark",
    102      "DesarguesGraph",
    103103     "DurerGraph",
    104104     "DyckGraph",
    105105     "EllinghamHorton54Graph",
    def __append_to_doc(methods): 
    119119     "HeawoodGraph",
    120120     "HerschelGraph",
    121121     "HigmanSimsGraph",
     122     "HoffmanGraph",
    122123     "HoffmanSingletonGraph",
    123      "SylvesterGraph",
    124      "SimsGewirtzGraph",
    125      "HoffmanGraph",
    126124     "HoltGraph",
    127125     "LjubljanaGraph",
    128126     "McGeeGraph",
    def __append_to_doc(methods): 
    133131     "PetersenGraph",
    134132     "SchlaefliGraph",
    135133     "ShrikhandeGraph",
     134     "SimsGewirtzGraph",
     135     "SylvesterGraph",
    136136     "ThomsenGraph",
    137137     "Tutte12Cage",
    138138     "TutteCoxeterGraph",
    class GraphGenerators(): 
    991991    PetersenGraph            = staticmethod(sage.graphs.generators.smallgraphs.PetersenGraph)
    992992    SchlaefliGraph           = staticmethod(sage.graphs.generators.smallgraphs.SchlaefliGraph)
    993993    ShrikhandeGraph          = staticmethod(sage.graphs.generators.smallgraphs.ShrikhandeGraph)
     994    SimsGewirtzGraph         = staticmethod(sage.graphs.generators.smallgraphs.SimsGewirtzGraph)
    994995    SylvesterGraph           = staticmethod(sage.graphs.generators.smallgraphs.SylvesterGraph)
    995     SimsGewirtzGraph         = staticmethod(sage.graphs.generators.smallgraphs.SimsGewirtzGraph)
    996996    ThomsenGraph             = staticmethod(sage.graphs.generators.smallgraphs.ThomsenGraph)
    997997    Tutte12Cage              = staticmethod(sage.graphs.generators.smallgraphs.Tutte12Cage)
    998998    TutteCoxeterGraph        = staticmethod(sage.graphs.generators.smallgraphs.TutteCoxeterGraph)