Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions stubs/networkx/networkx/algorithms/isolate.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from _typeshed import Incomplete
from collections.abc import Iterator

from networkx.classes.graph import Graph, _Node
Expand All @@ -9,6 +8,6 @@ __all__ = ["is_isolate", "isolates", "number_of_isolates"]
@_dispatchable
def is_isolate(G: Graph[_Node], n: _Node) -> bool: ...
@_dispatchable
def isolates(G: Graph[_Node]) -> Iterator[Incomplete]: ...
def isolates(G: Graph[_Node]) -> Iterator[_Node]: ...
@_dispatchable
def number_of_isolates(G: Graph[_Node]) -> int: ...
Loading