2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Fix List not calling __repr__

This commit is contained in:
Dan 2019-06-01 15:36:53 +02:00
parent 56f1a8ca9d
commit e9a2087fe0

View File

@ -23,4 +23,6 @@ class List(list, Object):
__slots__ = []
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)
)