mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-17 18:46:40 +00: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