Skip to content

Commit ea647b7

Browse files
committed
Modify comments
1 parent d763845 commit ea647b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cyaron/graph.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def to_str(self, **kwargs):
4848
str output(Edge) = str -> the convert function which converts object Edge to str. the default way is to use str()
4949
list[int] node_shuffler(list[int])
5050
= lambda table: random.sample(table, k=len(table))
51-
-> the random function which shuffles the vertex sequence
51+
-> the random function which shuffles the vertex sequence.
52+
Note that this function will actually be passed in a `range`!
5253
list[Edge] edge_shuffler(list[int])
5354
-> a random function. the default is to shuffle the edge sequence,
5455
also, if the graph is undirected, it will swap `u` and `v` randomly.

0 commit comments

Comments
 (0)