mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 02:43:45 +03:00
Fix raw API docs generation
This commit is contained in:
parent
8b1bfcdf9c
commit
6e8bc0d5b9
|
@ -142,8 +142,8 @@ class DocsWriter:
|
|||
self.write(':')
|
||||
|
||||
# "Opening" modifiers
|
||||
if arg.is_flag:
|
||||
self.write('flags.{}?', arg.flag_index)
|
||||
if arg.flag:
|
||||
self.write('{}.{}?', arg.flag, arg.flag_index)
|
||||
|
||||
if arg.is_generic:
|
||||
self.write('!')
|
||||
|
|
Loading…
Reference in New Issue
Block a user