Ticket #9862: trac_9862 - small docstring fixes.patch

File trac_9862 - small docstring fixes.patch, 1.7 KB (added by ncohen, 9 years ago)
  • sage/graphs/graph_generators.py

    # HG changeset patch
    # User Nathann Cohen <nathann.cohen@gmail.com>
    # Date 1283801054 -7200
    # Node ID a0fbc6d387c3f151229da9b9ea168ee5f539f11a
    # Parent  0de59778cea7df7bd656ae07169118634b2c3e96
    trac 9862 - some documentation in graphs constructors related to interval graphs
    
    diff -r 0de59778cea7 -r a0fbc6d387c3 sage/graphs/graph_generators.py
    a b  
    40254025
    40264026        This definitions follows [boucheron2001]_.
    40274027
     4028        .. NOTE::
     4029
     4030            The vertices are named 0, 1, 2, and so on. The intervals
     4031            used to create the graph are saved with the graph and can
     4032            be recovered using ``get_vertex()`` or ``get_vertices()``.
     4033
    40284034        INPUT:
    40294035
    40304036        - ``n`` (integer) -- the number of vertices in the random
     
    40634069        vertex, two vertices being adjacent if the two corresponding
    40644070        (closed) intervals intersect.
    40654071
    4066         The vertices are named 0, 1, 2, and so on. The intervals used
    4067         to create the graph are saved with the graph and can be
    4068         recovered using g.get_vertex() or g.get_vertices().
    4069 
    40704072        INPUT:
    40714073
    40724074        - ``intervals`` -- the list of pairs `(a_i,b_i)`
    40734075          defining the graph.
    40744076
    4075         NOTE:
    4076 
    4077         The intervals `(a_i,b_i)` need not verify `a_i<b_i`.
     4077        .. NOTE::
     4078
     4079            * The vertices are named 0, 1, 2, and so on. The
     4080              intervals used to create the graph are saved with the
     4081              graph and can be recovered using ``get_vertex()`` or
     4082              ``get_vertices()``.
     4083
     4084            * The intervals `(a_i,b_i)` need not verify `a_i<b_i`.
    40784085
    40794086        EXAMPLE:
    40804087