Skip to content

Commit 59dc076

Browse files
authored
commit 8
1 parent 0677026 commit 59dc076

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/_weakrefset.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
from collections.abc import Iterable, Iterator, MutableSet
1+
from collections.abc import Hashable, Iterable, Iterator, MutableSet
22
from types import GenericAlias
33
from typing import Any, ClassVar, TypeVar, overload
44
from typing_extensions import Self
55

66
__all__ = ["WeakSet"]
77

88
_S = TypeVar("_S")
9-
_T = TypeVar("_T")
9+
_T = TypeVar("_T", bound=Hashable)
1010

1111
class WeakSet(MutableSet[_T]):
1212
@overload

0 commit comments

Comments
 (0)