Skip to content

Commit 84f846c

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

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
@@ -142,7 +142,7 @@ pub fn directed_cycle_graph(
142142
/// :param int num_nodes: The number of nodes to generate the graph with. Node
143143
/// weights will be None if this is specified. If both ``num_nodes`` and
144144
/// ``weights`` are set, this will be ignored and ``weights`` will be used.
145-
/// :param list[S] weights: A list of node weights. If both ``num_nodes`` and
145+
/// :param Sequence[Any] weights: A sequence of node weights, typically a list. If both ``num_nodes`` and
146146
/// ``weights`` are set, this will be ignored and ``weights`` will be used.
147147
/// :param bool multigraph: When set to ``False`` the output
148148
/// :class:`~rustworkx.PyGraph` object will not be not be a multigraph and

0 commit comments

Comments
 (0)