Fixed sorting lin ni gen_overview

This commit is contained in:
sergi-e 2020-10-16 09:59:54 +02:00 committed by bernat
parent a00a97714b
commit 59e171a285
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ class Documentation:
md.list_popn()
# Generate class methods overview (if any)
if 'methods' in cl and cl['methods']:
for method in sorted(cl['methods']):
for method in sorted(cl['methods'], key = lambda i: i['def_name']):
md.list_push(gen_method_indx(method, class_key))
md.list_popn()
md.list_pop()