Serialize flag_indicator argument to flags:#

This commit is contained in:
Birger Jarl 2017-05-13 06:01:39 +03:00 committed by Lonami
parent 2ff419a5e7
commit 930dc99f31

View File

@ -173,6 +173,9 @@ class TLArg:
def __str__(self):
# Find the real type representation by updating it as required
real_type = self.type
if self.flag_indicator:
real_type = '#'
if self.is_vector:
real_type = 'Vector<{}>'.format(real_type)