mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-10 18:36:31 +08:00
[networkx] Correct argument type for from_nested_tuple (#14218)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user