From de34073b344793e8d78d7119029c0b714fa95400 Mon Sep 17 00:00:00 2001 From: Sengolda <79252176+Sengolda@users.noreply.github.com> Date: Thu, 28 Oct 2021 01:22:11 +0530 Subject: [PATCH] typed SequenceProxy.index --- discord/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/utils.py b/discord/utils.py index a62e5418..df72d60c 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -207,7 +207,7 @@ class SequenceProxy(Generic[T_co], collections.abc.Sequence): def __reversed__(self) -> Iterator[T_co]: return reversed(self.__proxied) - def index(self, value: Any, *args, **kwargs) -> int: + def index(self, value: Any, *args: Any, **kwargs: Any) -> int: return self.__proxied.index(value, *args, **kwargs) def count(self, value: Any) -> int: