mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 19:11:26 +08:00
Drop Python 3.8 branches (#13776)
This commit is contained in:
1 parent
1e43190554
commit
30b16c168d
117 files changed
+1023
-2639
No files matched your search
@@ -1,11 +1,8 @@
|
||||
import sys
|
||||
from collections.abc import Iterable, Iterator, MutableSet
|
||||
from types import GenericAlias
|
||||
from typing import Any, ClassVar, TypeVar, overload
|
||||
from typing_extensions import Self
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
__all__ = ["WeakSet"]
|
||||
|
||||
_S = TypeVar("_S")
|
||||
@@ -48,5 +45,4 @@ class WeakSet(MutableSet[_T]):
|
||||
def union(self, other: Iterable[_S]) -> WeakSet[_S | _T]: ...
|
||||
def __or__(self, other: Iterable[_S]) -> WeakSet[_S | _T]: ...
|
||||
def isdisjoint(self, other: Iterable[_T]) -> bool: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
||||
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
|
||||
Reference in new issue
Block a user