Skip to content

Commit 1a9eef4

Browse files
authored
[networkx] Fix argument type of node_connected_component (#13612)
1 parent 2e76963 commit 1a9eef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/networkx/networkx/algorithms/components/connected.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ def number_connected_components(G: Graph[_Node]): ...
1111
@_dispatchable
1212
def is_connected(G: Graph[_Node]): ...
1313
@_dispatchable
14-
def node_connected_component(G: Graph[_Node], n: str): ...
14+
def node_connected_component(G: Graph[_Node], n: _Node): ...

0 commit comments

Comments
 (0)