On Wednesday, December 13, 2017 at 6:03:07 PM UTC-6, Edward K. Ream wrote:
> The new class uses Vitalije's suggested patterns.
show_results can be simplified with a dict comprehension:
def show_results(self):
...
for (name, d) in table:
print('%s...' % name)
g.printDict({key: sorted(set(d.get(key) for key in d})
So this is good :-)
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.