mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Mark pos-only __class_getitem__ args (#11970)
This commit is contained in:
@@ -23,6 +23,6 @@ class TopologicalSorter(Generic[_T]):
|
||||
def get_ready(self) -> tuple[_T, ...]: ...
|
||||
def static_order(self) -> Iterable[_T]: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
|
||||
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
||||
|
||||
class CycleError(ValueError): ...
|
||||
|
||||
Reference in New Issue
Block a user