On Wed, Apr 16, 2014 at 9:14 PM, T P <[email protected]> wrote:

> To see what the possible pygment built-in styles [2] are, at
> a Python prompt do::
>
>     >>> from pygments.styles import get_all_styles
>     >>> styles = list(get_all_styles())
>     >>> styles.sort()
>     >>> styles

An oh-so-useful nit: replace list and sort by the sorted builtin::

    print(sorted(get_all_styles()))

or, even easier to read::

    print('\n'.join(sorted(get_all_styles())))

EKR

-- 
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