mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-02 20:54:43 +03:00
Fix generating error names in TL ref
This commit is contained in:
parent
691160bd92
commit
2db0725b98
|
@ -370,7 +370,7 @@ def _write_html_pages(tlobjects, methods, layer, input_res):
|
|||
))
|
||||
docs.begin_table(column_count=2)
|
||||
for error in errors:
|
||||
docs.add_row('<code>{}</code>'.format(error.name))
|
||||
docs.add_row('<code>{}</code>'.format(error.canonical_name))
|
||||
docs.add_row('{}.'.format(error.description))
|
||||
docs.end_table()
|
||||
docs.write_text('You can import these from '
|
||||
|
|
Loading…
Reference in New Issue
Block a user