Skip to content
Open
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
4 changes: 2 additions & 2 deletions stdlib/graphlib.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
from _typeshed import SupportsItems
from collections.abc import Iterable
from collections.abc import Iterable, Iterator
from typing import Any, Generic, TypeVar, overload

__all__ = ["TopologicalSorter", "CycleError"]
Expand All @@ -22,7 +22,7 @@ class TopologicalSorter(Generic[_T]):
def __bool__(self) -> bool: ...
def done(self, *nodes: _T) -> None: ...
def get_ready(self) -> tuple[_T, ...]: ...
def static_order(self) -> Iterable[_T]: ...
def static_order(self) -> Iterator[_T]: ...
if sys.version_info >= (3, 11):
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...

Expand Down
Loading