Skip to content

Commit 6b1ffe3

Browse files
committed
fix doctest in sage/manifolds/subset.py
1 parent dae71a1 commit 6b1ffe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/manifolds/subset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ def subset_digraph(self, loops=False, quotient=False, open_covers=False, points=
901901
sage: U = M.open_subset('U'); V = M.open_subset('V'); W = M.open_subset('W')
902902
sage: D = M.subset_digraph(); D
903903
Digraph on 4 vertices
904-
sage: D.edges(key=lambda e: (e[0]._name, e[1]._name))
904+
sage: D.edges(sort=True, key=lambda e: (e[0]._name, e[1]._name))
905905
[(Set {U} of open subsets of the 3-dimensional differentiable manifold M,
906906
Set {M} of open subsets of the 3-dimensional differentiable manifold M,
907907
None),

0 commit comments

Comments
 (0)