On Sat, Nov 29, 2014 at 1:11 AM, Matt Wilkie <[email protected]> wrote:

>
>
> Now how did you get that nicely formatted `c.db.keys()` in the first
> section? I had to wrap it in `g.es(c.db.keys())`, and then it prints all
> in one line.
>

​You don't need valuespace for this. For any dict d, the idiom is::

    print('\n'.join(sorted(d.keys())))

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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to