This commit is contained in:
Ader 2018-04-10 22:35:19 +00:00 committed by GitHub
commit 356aa1f070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,6 +152,9 @@ class TLObject:
def __str__(self):
return TLObject.pretty_format(self)
def __repr__(self):
return TLObject.pretty_format(self, indent=1)
def stringify(self):
return TLObject.pretty_format(self, indent=0)