Fix custom List __repr__ (#901)

This commit is contained in:
Nik 2022-02-13 11:32:34 +01:00 committed by GitHub
parent 7edfda7f41
commit 325569d73f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,4 +23,4 @@ from .tl_object import TLObject
class List(TList[Any], TLObject): class List(TList[Any], TLObject):
def __repr__(self) -> str: def __repr__(self) -> str:
return f"pyrogram.api.core.List([{','.join(TLObject.__repr__(i) for i in self)}])" return f"pyrogram.raw.core.List([{','.join(TLObject.__repr__(i) for i in self)}])"