Skip to content

Commit 9aa2aa4

Browse files
author
Matthias Koeppe
committed
More # optional
1 parent 0e31af8 commit 9aa2aa4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/combinat/words/morphism.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def __call__(self, w, order=1):
709709
sage: tm('a', 6.7)
710710
Traceback (most recent call last):
711711
...
712-
TypeError: order (6.70000000000000) must be a non-negative integer or plus Infinity
712+
TypeError: order (6.7...) must be a non-negative integer or plus Infinity
713713
714714
Only the first letter is considered for infinitely iterated image of
715715
a word under a morphism::
@@ -976,7 +976,7 @@ def __pow__(self, exp):
976976
sage: m^1.5
977977
Traceback (most recent call last):
978978
...
979-
ValueError: exponent (1.50000000000000) must be an integer
979+
ValueError: exponent (1.5...) must be an integer
980980
sage: m^-2
981981
Traceback (most recent call last):
982982
...
@@ -2100,7 +2100,7 @@ def language(self, n, u=None):
21002100
sage: set(A2) == B2 # optional - sage.modules
21012101
True
21022102
2103-
sage: len(A0), len(A2)
2103+
sage: len(A0), len(A2) # optional - sage.modules
21042104
(6, 20)
21052105
21062106
The Chacon transformation (non-primitive)::

0 commit comments

Comments
 (0)