diff options
author | 2024-03-04 16:27:02 +0000 | |
---|---|---|
committer | 2024-03-18 10:32:20 +0000 | |
commit | 070255c39c908c961d47c3b72aa63061a1626913 (patch) | |
tree | d304e7f8131fc4fe25646f147e85134ba0ec06c8 /pydis_core/utils/cooldown.py | |
parent | Add support for Python 3.12 (diff) |
Drop support for Python 3.10
Diffstat (limited to 'pydis_core/utils/cooldown.py')
-rw-r--r-- | pydis_core/utils/cooldown.py | 4 |
1 files changed, 1 insertions, 3 deletions
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]() |