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