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

Commit eced39e

Browse files
committed
16405: fixed trivial doctest failure and ReST indentation
1 parent 27f6c9a commit eced39e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/sage/categories/additive_magmas.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -913,10 +913,10 @@ def __neg__(self):
913913
the assertion that the inputs are parents in
914914
``cartesian_product``::
915915
916-
sage: cartesian_product([ZZ, NN, RR])
917-
Traceback (most recent call last):
918-
...
919-
AssertionError
916+
sage: cartesian_product([ZZ, NN, RR])
917+
Traceback (most recent call last):
918+
...
919+
AssertionError
920920
"""
921921
return self.parent()(
922922
-x for x in self.cartesian_factors())

src/sage/categories/magmas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def __invert__(self):
459459
ZeroDivisionError: rational division by zero
460460
461461
sage: ~C([2,2,2,2])
462-
Traceback (most recent call last)
462+
Traceback (most recent call last):
463463
...
464464
TypeError: no conversion of this rational to integer
465465
"""

0 commit comments

Comments
 (0)