[networkx] Correct argument type for from_nested_tuple (#14218)

This commit is contained in:
Axel Dahlberg
2025-06-10 05:07:57 +02:00
committed by GitHub
parent 8f5a80e7b7
commit 9a9230900f
@@ -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