ThirdParty/Pygments/pygments/unistring.py

branch
Py2 comp.
changeset 2669
11a6696ff868
parent 2525
8b507a9a2d40
child 3145
a9de05d4a22f
equal deleted inserted replaced
2607:e5115553185a 2669:11a6696ff868
10 10
11 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. 11 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS.
12 :license: BSD, see LICENSE for details. 12 :license: BSD, see LICENSE for details.
13 """ 13 """
14 from __future__ import unicode_literals # __IGNORE_WARNING__ 14 from __future__ import unicode_literals # __IGNORE_WARNING__
15 try:
16 chr = unichr
17 except (NameError):
18 pass
15 19
16 from pygments.util import u_prefix 20 from pygments.util import u_prefix
17 21
18 Cc = '\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f' 22 Cc = '\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f'
19 23

eric ide

mercurial