Remove redundant import, show type instead TLObject on docstring

This commit is contained in:
Lonami Exo
2018-01-19 13:40:04 +01:00
parent e3c56b0d98
commit 0e43022959
2 changed files with 1 additions and 10 deletions

View File

@@ -264,7 +264,7 @@ class TLArg:
'date': 'datetime.datetime | None', # None date = 0 timestamp
'bytes': 'bytes',
'true': 'bool',
}.get(self.type, 'TLObject')
}.get(self.type, self.type)
if self.is_vector:
result = 'list[{}]'.format(result)
if self.is_flag and self.type != 'date':