From dc34a8f1dcd570378a05ae929c4ee055a27add4b Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Sun, 2 Oct 2022 23:51:19 +0200 Subject: [PATCH] Add repr to the SequenceProxy --- discord/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discord/utils.py b/discord/utils.py index 63e64d485..db9f84195 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -224,6 +224,9 @@ class SequenceProxy(Sequence[T_co]): self.__proxied = list(self.__proxied) return self.__proxied + def __repr__(self) -> str: + return f"SequenceProxy({self.__proxied!r})" + def __getitem__(self, idx: int) -> T_co: return self.__copied[idx]