ThirdParty/Pygments/pygments/formatter.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 684
2f29a0b6e1c7
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
16 16
17 __all__ = ['Formatter'] 17 __all__ = ['Formatter']
18 18
19 19
20 def _lookup_style(style): 20 def _lookup_style(style):
21 if isinstance(style, basestring): 21 if isinstance(style, str):
22 return get_style_by_name(style) 22 return get_style_by_name(style)
23 return style 23 return style
24 24
25 25
26 class Formatter(object): 26 class Formatter(object):

eric ide

mercurial