mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add repr to the SequenceProxy
This commit is contained in:
parent
c30a2f3ca0
commit
dc34a8f1dc
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user