Skip to content

Commit d45422e

Browse files
author
Matthias Koeppe
committed
Matrix.str: Remove misleading indentation of doctest output
1 parent 6a56950 commit d45422e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/sage/matrix/matrix0.pyx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1941,11 +1941,11 @@ cdef class Matrix(sage.structure.element.Matrix):
19411941
....: bottom_border=['*', '', ''],
19421942
....: left_border=[1, 10, 100],
19431943
....: right_border=['', ' <', '']))
1944-
ab cde f
1945-
1⎛ 1 2│ 3⎞
1946-
10⎜ 4 5│ 6⎟ <
1947-
100⎝ 7 8│ 9⎠
1948-
*
1944+
ab cde f
1945+
1⎛ 1 2│ 3⎞
1946+
10⎜ 4 5│ 6⎟ <
1947+
100⎝ 7 8│ 9⎠
1948+
*
19491949
19501950
TESTS:
19511951
@@ -2003,10 +2003,10 @@ cdef class Matrix(sage.structure.element.Matrix):
20032003
sage: print(matrix(ZZ, 2, 4).str(
20042004
....: unicode=True,
20052005
....: top_border='abcd', bottom_border=range(4), left_border='uv'))
2006-
a b c d
2007-
u⎛0 0 0 0⎞
2008-
v⎝0 0 0 0⎠
2009-
0 1 2 3
2006+
a b c d
2007+
u⎛0 0 0 0⎞
2008+
v⎝0 0 0 0⎠
2009+
0 1 2 3
20102010
sage: print(matrix(ZZ, 2, 0).str(
20112011
....: top_border='', left_border='uv', right_border=['*', '']))
20122012
[]

0 commit comments

Comments
 (0)