Ticket #14532: trac_14532_review-fc.patch

File trac_14532_review-fc.patch, 1.3 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 1368115976 -7200
    # Node ID 758524e5cd96fa3c2d0610b4b6424687fd1254a1
    # Parent  202539ce791f2ad83c2e668589283283839bbab5
    review patch of #14532 removing imports
    
    diff --git a/sage/graphs/graph_generators.py b/sage/graphs/graph_generators.py
    a b Functions and methods 
    288288###########################################################################
    289289
    290290# import from Python standard library
    291 from math import sin, cos, pi
    292291
    293292# import from Sage library
    294293import graph
    295 from sage.misc.randstate import current_randstate
    296294
    297295class GraphGenerators():
    298296    r"""
    def canaug_traverse_vert(g, aut_gens, ma 
    11351133        Digraph on 2 vertices
    11361134        Digraph on 2 vertices
    11371135    """
    1138     from sage.graphs.generic_graph_pyx import binary
    11391136    from sage.groups.perm_gps.partn_ref.refinement_graphs import search_tree
    11401137
    11411138   
    def canaug_traverse_edge(g, aut_gens, pr 
    13221319        Digraph on 3 vertices
    13231320        Digraph on 3 vertices
    13241321    """
    1325     from sage.graphs.generic_graph_pyx import binary
    13261322    from sage.groups.perm_gps.partn_ref.refinement_graphs import search_tree
    13271323    if not property(g):
    13281324        return