Ticket #13425: trac_13425-small-doc-fix.patch

File trac_13425-small-doc-fix.patch, 1.3 KB (added by gmoose05, 5 years ago)
  • sage/combinat/cluster_algebra_quiver/cluster_seed.py

    # HG changeset patch
    # User Gregg Musiker <musiker@math.mit.edu>
    # Date 1363876503 18000
    # Node ID 7d2b7690035fe52b1097e5ce2a3bb36af86ddbe5
    # Parent  166d010a6c30ef4542d09a1bd0f407287d8abe52
    Fixed documentation in cluster_seed
    
    diff --git a/sage/combinat/cluster_algebra_quiver/cluster_seed.py b/sage/combinat/cluster_algebra_quiver/cluster_seed.py
    a b  
    304304
    305305        EXAMPLES::
    306306
    307             sage: Q = ClusterQuiver(['F',4,[1,2]])
    308             sage: Q.save_image(os.path.join(SAGE_TMP, 'sage.png'))
     307            sage: S = ClusterSeed(['F',4,[1,2]])
     308            sage: S.save_image(os.path.join(SAGE_TMP, 'sage.png'))
    309309        """
    310310        graph_plot = self.plot( circular=circular, mark=mark, save_pos=save_pos)
    311311        graph_plot.save( filename=filename )
     
    747747
    748748        EXAMPLES::
    749749
    750             sage: ClusterQuiver(['A',[3,3],1]).is_bipartite()
     750            sage: ClusterSeed(['A',[3,3],1]).is_bipartite()
    751751            True
    752752
    753             sage: ClusterQuiver(['A',[4,3],1]).is_bipartite()
     753            sage: ClusterSeed(['A',[4,3],1]).is_bipartite()
    754754            False
    755755        """
    756756        return self.quiver().is_bipartite(return_bipartition=return_bipartition)