mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Fix List not calling __repr__
This commit is contained in:
parent
56f1a8ca9d
commit
e9a2087fe0
@ -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…
x
Reference in New Issue
Block a user