Skip to content

Commit a8a7c35

Browse files
committed
some suggested changes
1 parent 191b291 commit a8a7c35

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/sage/structure/factorization.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,16 +222,16 @@ def __init__(self, x, unit=None, cr=False, sort=True, simplify=True):
222222
- ``x`` -- a list of pairs (p, e) with e an integer;
223223
otherwise a :class:`TypeError` is raised
224224
225-
- ``unit`` -- (default: 1) the unit part of the factorization.
225+
- ``unit`` -- (default: 1); the unit part of the factorization.
226226
227-
- ``cr`` -- (default: ``False``) if ``True``, print the factorization
227+
- ``cr`` -- (default: ``False``); if ``True``, print the factorization
228228
with carriage returns between factors.
229229
230-
- ``sort`` - (default: ``True``) if ``True``, sort the factors by
230+
- ``sort`` - (default: ``True``); if ``True``, sort the factors by
231231
calling the sort function ``self.sort()`` after creating
232232
the factorization
233233
234-
- ``simplify`` - (default: ``True``) if ``True``, remove duplicate
234+
- ``simplify`` -- (default: ``True``); if ``True``, remove duplicate
235235
factors from the factorization. See the documentation for
236236
self.simplify.
237237
@@ -572,7 +572,7 @@ def base_change(self, U):
572572

573573
def is_commutative(self) -> bool:
574574
"""
575-
Return ``True`` if my factors commute.
575+
Return whether the factors commute.
576576
577577
EXAMPLES::
578578
@@ -651,7 +651,7 @@ def sort(self, key=None):
651651
652652
INPUT:
653653
654-
- ``key`` -- (default: ``None``) comparison key
654+
- ``key`` -- (default: ``None``); comparison key
655655
656656
OUTPUT:
657657

0 commit comments

Comments
 (0)