mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 23:04:51 +00:00
Fix List not calling __repr__
This commit is contained in:
parent
56f1a8ca9d
commit
e9a2087fe0
1 changed files with 3 additions and 1 deletions
|
|
@ -23,4 +23,6 @@ class List(list, Object):
|
||||||
__slots__ = []
|
__slots__ = []
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "pyrogram.api.core.List([{}])".format(",".join(Object.__str__(i) for i in self))
|
return "pyrogram.api.core.List([{}])".format(
|
||||||
|
",".join(Object.__repr__(i) for i in self)
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue