Ticket #10316: trac_10316-another_doctest.patch

File trac_10316-another_doctest.patch, 792 bytes (added by ncohen, 11 years ago)
  • sage/graphs/graph_generators.py

    # HG changeset patch
    # User Nathann Cohen <nathann.cohen@gmail.com>
    # Date 1290587897 -3600
    # Node ID 242de3e5f6f6e86db4ca585f75404b64fa1a7783
    # Parent  044a1ce09e0f85c03aa3c0122a8090d88b697148
    trac 10316 - small doctest addition to the Durer Graph generator
    
    diff -r 044a1ce09e0f -r 242de3e5f6f6 sage/graphs/graph_generators.py
    a b  
    23862386            4
    23872387            sage: G.girth()
    23882388            3
     2389
     2390        Its automorphism group is isomorphic to `D_6`. ::
     2391
     2392            sage: ag = G.automorphism_group()
     2393            sage: ag.is_isomorphic(DihedralGroup(6))
     2394            True
    23892395        """
    23902396        edge_dict = {
    23912397            0: [1,5,6],