mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
1 parent
bc252d69ac
commit
b46280ec78
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -143,7 +143,7 @@ class AbstractSet(Sized, Iterable[_T_co], Container[_T_co], Generic[_T_co]):
|
||||
# TODO: argument can be any container?
|
||||
def isdisjoint(self, s: AbstractSet[Any]) -> bool: ...
|
||||
|
||||
class FrozenSet(AbstractSet[_T], Generic[_T]): ...
|
||||
class FrozenSet(AbstractSet[_T_co], Generic[_T_co]): ...
|
||||
|
||||
class MutableSet(AbstractSet[_T], Generic[_T]):
|
||||
@abstractmethod
|
||||
|
||||
+1
-1
@@ -210,7 +210,7 @@ class AbstractSet(Iterable[_T_co], Container[_T_co], Sized, Generic[_T_co]):
|
||||
# TODO: Argument can be a more general ABC?
|
||||
def isdisjoint(self, s: AbstractSet[Any]) -> bool: ...
|
||||
|
||||
class FrozenSet(AbstractSet[_T], Generic[_T]): ...
|
||||
class FrozenSet(AbstractSet[_T_co], Generic[_T_co]): ...
|
||||
|
||||
class MutableSet(AbstractSet[_T], Generic[_T]):
|
||||
@abstractmethod
|
||||
|
||||
Reference in new issue
Block a user