c.commandsDict makes this a snap::
d = c.commandsDict
# Keys are command names, values are functions.
keys = list(d.keys())
keys.sort()
for key in keys:
f = d.get(key)
print('%4s %s' % (len(f.__doc__ or ''),key))
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.