We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b933f7b commit 84f846cCopy full SHA for 84f846c
src/generators.rs
@@ -142,7 +142,7 @@ pub fn directed_cycle_graph(
142
/// :param int num_nodes: The number of nodes to generate the graph with. Node
143
/// weights will be None if this is specified. If both ``num_nodes`` and
144
/// ``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
+/// :param Sequence[Any] weights: A sequence of node weights, typically a list. If both ``num_nodes`` and
146
147
/// :param bool multigraph: When set to ``False`` the output
148
/// :class:`~rustworkx.PyGraph` object will not be not be a multigraph and
0 commit comments