mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Sort constructors on the documentation for predictable results
This commit is contained in:
parent
2f00033683
commit
3de398bae6
|
@ -218,6 +218,9 @@ def generate_documentation(scheme_file):
|
|||
else:
|
||||
dictionary[tlobject.result] = [tlobject]
|
||||
|
||||
for tltype, constructors in tltypes.items():
|
||||
tltypes[tltype] = list(sorted(constructors, key=lambda c: c.name))
|
||||
|
||||
for tlobject in tlobjects:
|
||||
filename = get_create_path_for(tlobject)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user