Skip to content

Commit

Permalink
src/sage/knots/link.py: Fix indent of doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 1, 2024
1 parent e25f9d9 commit ecbd34d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sage/knots/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -2614,11 +2614,11 @@ def reverse(self):
EXAMPLES::
sage: K3 = Knot([[5, 2, 4, 1], [3, 6, 2, 5], [1, 4, 6, 3]])
sage: K3r = K3.reverse(); K3r.pd_code()
[[4, 1, 5, 2], [2, 5, 3, 6], [6, 3, 1, 4]]
sage: K3 == K3r # needs sage.groups
True
sage: K3 = Knot([[5, 2, 4, 1], [3, 6, 2, 5], [1, 4, 6, 3]])
sage: K3r = K3.reverse(); K3r.pd_code()
[[4, 1, 5, 2], [2, 5, 3, 6], [6, 3, 1, 4]]
sage: K3 == K3r # needs sage.groups
True
a non reversable knot::
Expand Down

0 comments on commit ecbd34d

Please sign in to comment.