aboutsummaryrefslogtreecommitdiffstats
path: root/botcore/utils
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2022-09-19 12:48:12 +0200
committerGravatar Numerlor <[email protected]>2022-09-19 12:48:12 +0200
commit825b14565eec85a5ae1bd52ecc99162705178e42 (patch)
tree1bbf798b644765f8e72ba0ff9f3a95c5c7f9b457 /botcore/utils
parentuse ctx.channel directly (diff)
type return with tuple
while only iterable is strictly needed, any reader would expect the function to return a tuple
Diffstat (limited to 'botcore/utils')
-rw-r--r--botcore/utils/cooldown.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/botcore/utils/cooldown.py b/botcore/utils/cooldown.py
index 879a2894..8de7c243 100644
--- a/botcore/utils/cooldown.py
+++ b/botcore/utils/cooldown.py
@@ -167,7 +167,7 @@ class _CommandCooldownManager:
self._cooldowns[key] = filtered_cooldowns
-def _create_argument_tuple(*args: object, **kwargs: object) -> Iterable[object]:
+def _create_argument_tuple(*args: object, **kwargs: object) -> tuple[object, ...]:
return (*args, _KEYWORD_SEP_SENTINEL, *kwargs.items())