Skip to content

Commit 0eb0812

Browse files
committed
update documentation
1 parent 06ce4b4 commit 0eb0812

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/sage/graphs/generic_graph.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22999,10 +22999,7 @@ def relabel(self, perm=None, inplace=True, return_map=False, check_input=True, c
2299922999
is relabeled to ``l[0]``, the second to ``l[1]``, ...
2300023000

2300123001
If ``perm`` is a permutation, then each vertex ``v`` is
23002-
relabeled to ``perm(v)``. Caveat: this assumes that the
23003-
vertices are labelled `\{0,1,...,n-1\}`; since permutations
23004-
act by default on the set `\{1,2,...,n\}`, this is achieved by
23005-
identifying `n` and `0`.
23002+
relabeled to ``perm(v)``.
2300623003

2300723004
If ``perm`` is ``None``, the graph is relabeled to be on the
2300823005
vertices `\{0,1,...,n-1\}`. This is *not* any kind of canonical

0 commit comments

Comments
 (0)