From 9a9230900f304ad9d3ddcc3321e0f6d9b813184f Mon Sep 17 00:00:00 2001 From: Axel Dahlberg Date: Tue, 10 Jun 2025 05:07:57 +0200 Subject: [PATCH] [networkx] Correct argument type for from_nested_tuple (#14218) --- stubs/networkx/networkx/algorithms/tree/coding.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/networkx/networkx/algorithms/tree/coding.pyi b/stubs/networkx/networkx/algorithms/tree/coding.pyi index afd2ee79e..619dc44d5 100644 --- a/stubs/networkx/networkx/algorithms/tree/coding.pyi +++ b/stubs/networkx/networkx/algorithms/tree/coding.pyi @@ -12,7 +12,7 @@ class NotATree(NetworkXException): ... @_dispatchable def to_nested_tuple(T: Graph[_Node], root: _Node, canonical_form: bool = False): ... @_dispatchable -def from_nested_tuple(sequence: tuple[Incomplete], sensible_relabeling: bool = False): ... +def from_nested_tuple(sequence: tuple[Incomplete, ...], sensible_relabeling: bool = False): ... @_dispatchable def to_prufer_sequence(T: Graph[_Node]): ... @_dispatchable