Ticket #12392: 12392.patch

File 12392.patch, 1.3 KB (added by David Roe, 11 years ago)
  • sage/categories/modules_with_basis.py

    # HG changeset patch
    # User Robert Bradshaw <robertwb@math.washington.edu>
    # Date 1325324323 28800
    # Node ID db8e581ed2cb8f8431f9e4c1dc114dd7f81f7ab4
    # Parent  75b29dbaa700aa3a5dd4e5619d4742a50404f8a3
    #12392: Fix typo in sage/categories/modules_with_basis.py
    
    diff --git a/sage/categories/modules_with_basis.py b/sage/categories/modules_with_basis.py
    a b  
    10411041
    10421042                    sage: A = AlgebrasWithBasis(QQ).example(); A
    10431043                    An example of an algebra with basis: the free algebra on the generators ('a', 'b', 'c') over Rational Field
    1044                     sage: B = HopfAlgebrasWithBasis(QQ).example(); A
    1045                     An example of an algebra with basis: the free algebra on the generators ('a', 'b', 'c') over Rational Field
     1044                    sage: B = HopfAlgebrasWithBasis(QQ).example(); B
     1045                    An example of Hopf algebra with basis: the group algebra of the Dihedral group of order 6 as a permutation group over Rational Field
    10461046                    sage: A.an_element(), B.an_element()
    10471047                    (B[word: ] + 2*B[word: a] + 3*B[word: b], B[()] + 2*B[(2,3)] + 3*B[(1,2)] + B[(1,2,3)])
    10481048                    sage: cartesian_product((A, B, A)).an_element()           # indirect doctest