Skip to content

Commit b21bde6

Browse files
committed
remove workaround for 3.8
1 parent 8136a82 commit b21bde6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/trio/_core/_ki.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,8 @@
8080

8181
_T = TypeVar("_T")
8282

83-
if TYPE_CHECKING or sys.version_info >= (3, 9):
84-
_Ref = weakref.ref[_T]
85-
else:
8683

87-
class _Ref(weakref.ref, Generic[_T]):
88-
__slots__ = ()
89-
90-
91-
class _IdRef(_Ref[_T]):
84+
class _IdRef(weakref.ref[_T]):
9285
__slots__ = ("_hash",)
9386
_hash: int
9487

0 commit comments

Comments
 (0)