Skip to content

Commit b933f7b

Browse files
eumiroIvanIsCoding
andauthored
Update src/generators.rs
Co-authored-by: Ivan Carvalho <[email protected]>
1 parent 745f251 commit b933f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub fn cycle_graph(
8080
/// :param int num_nodes: The number of nodes to generate the graph with. Node
8181
/// weights will be None if this is specified. If both ``num_nodes`` and
8282
/// ``weights`` are set, this will be ignored and ``weights`` will be used.
83-
/// :param list[S] weights: A list of node weights. If both ``num_nodes`` and
83+
/// :param Sequence[Any] weights: A sequence of node weights, typically a list. If both ``num_nodes`` and
8484
/// ``weights`` are set, this will be ignored and ``weights`` will be used.
8585
/// :param bool bidirectional: Adds edges in both directions between two nodes
8686
/// if set to ``True``. Default value is ``False``

0 commit comments

Comments
 (0)