ThirdParty/Pygments/pygments/lexer.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3079
0233bbe9a9c4
child 4172
4f20dba37ab6
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
7 7
8 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 try: 11 try:
12 str = unicode # __IGNORE_WARNING__ 12 str = unicode
13 except (NameError): 13 except NameError:
14 basestring = str 14 basestring = str
15 15
16 import re, itertools 16 import re, itertools
17 17
18 from pygments.filter import apply_filters, Filter 18 from pygments.filter import apply_filters, Filter

eric ide

mercurial