From 070255c39c908c961d47c3b72aa63061a1626913 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 4 Mar 2024 16:27:02 +0000 Subject: Drop support for Python 3.10 --- pydis_core/utils/cooldown.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pydis_core/utils/cooldown.py') diff --git a/pydis_core/utils/cooldown.py b/pydis_core/utils/cooldown.py index 90711c93..91b9c5f3 100644 --- a/pydis_core/utils/cooldown.py +++ b/pydis_core/utils/cooldown.py @@ -25,8 +25,6 @@ _ArgsList = list[object] _HashableArgsTuple = tuple[Hashable, ...] if typing.TYPE_CHECKING: - import typing_extensions - from pydis_core import BotBase P = typing.ParamSpec("P") @@ -75,7 +73,7 @@ class _SeparatedArguments: non_hashable: _ArgsList @classmethod - def from_full_arguments(cls, call_arguments: Iterable[object]) -> typing_extensions.Self: + def from_full_arguments(cls, call_arguments: Iterable[object]) -> typing.Self: """Create a new instance from full call arguments.""" hashable = list[Hashable]() non_hashable = list[object]() -- cgit v1.2.3