Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit be52d1c

Browse files
committed
Axioms: fixed typo in two doctests of the primer
1 parent c7ea9a1 commit be52d1c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/sage/categories/primer.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1094,10 +1094,9 @@ class naming and introspection. Sage currently works around the
10941094
10951095
For a more advanced example, Sage knows that a set `C` endowed with a
10961096
multiplication which distributes over addition, such that `(C,+)` is
1097-
an additive group and `(C,*)` is a monoid is a ring::
1097+
a commutative additive group and `(C,*)` is a monoid is a ring::
10981098
1099-
sage: from sage.categories.additive_groups import AdditiveGroups
1100-
sage: C = DistributiveMagmasAndAdditiveMagmas() & AdditiveGroups() & Monoids(); C
1099+
sage: C = DistributiveMagmasAndAdditiveMagmas() & CommutativeAdditiveGroups() & Monoids(); C
11011100
Category of rings
11021101
11031102
sage: sorted(C.axioms())

0 commit comments

Comments
 (0)