ThirdParty/Pygments/pygments/formatters/__init__.py

changeset 684
2f29a0b6e1c7
parent 0
de9c2efb9d02
child 1705
b0fbc9300f2b
equal deleted inserted replaced
682:91114a975eda 684:2f29a0b6e1c7
3 pygments.formatters 3 pygments.formatters
4 ~~~~~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~~~~~
5 5
6 Pygments formatters. 6 Pygments formatters.
7 7
8 :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 import os.path 11 import os.path
12 import fnmatch 12 import fnmatch
13 13
14 from pygments.formatters._mapping import FORMATTERS 14 from pygments.formatters._mapping import FORMATTERS
15 from pygments.plugin import find_plugin_formatters 15 from pygments.plugin import find_plugin_formatters
16 from pygments.util import docstring_headline, ClassNotFound 16 from pygments.util import ClassNotFound
17 17
18 ns = globals() 18 ns = globals()
19 for fcls in FORMATTERS: 19 for fcls in FORMATTERS:
20 ns[fcls.__name__] = fcls 20 ns[fcls.__name__] = fcls
21 del fcls 21 del fcls

eric ide

mercurial