2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 14:25:55 +00:00

Use a better way to document properties

This commit is contained in:
Dan
2020-08-26 09:07:54 +02:00
parent f909e1e4ea
commit bab9359df8
3 changed files with 27 additions and 25 deletions

View File

@@ -417,7 +417,6 @@ def pyrogram_api():
f2.write(title + "\n" + "=" * len(title) + "\n\n")
f2.write(".. autoclass:: pyrogram.types.{}()\n".format(type))
f2.write(" :members:\n")
f.write(template.format(**fmt_keys))