47 'LANG_NAME' =>
'Python',
48 'COMMENT_SINGLE' => array(1 =>
'#'),
49 'COMMENT_MULTI' => array(),
52 'QUOTEMARKS' => array(
'"""',
"'''",
'"',
"'"),
53 'ESCAPE_CHAR' =>
'\\',
66 'and',
'del',
'for',
'is',
'raise',
'assert',
'elif',
'from',
'lambda',
'return',
'break',
67 'else',
'global',
'not',
'try',
'class',
'except',
'if',
'or',
'while',
'continue',
'exec',
68 'import',
'pass',
'yield',
'def',
'finally',
'in',
'print',
'with',
'as',
'nonlocal' 76 '__import__',
'abs',
'basestring',
'bool',
'callable',
'chr',
'classmethod',
'cmp',
77 'compile',
'complex',
'delattr',
'dict',
'dir',
'divmod',
'enumerate',
'eval',
'execfile',
78 'file',
'filter',
'float',
'frozenset',
'getattr',
'globals',
'hasattr',
'hash',
'help',
79 'hex',
'id',
'input',
'int',
'isinstance',
'issubclass',
'iter',
'len',
'list',
'locals',
80 'long',
'map',
'max',
'min',
'object',
'oct',
'open',
'ord',
'pow',
'property',
'range',
81 'raw_input',
'reduce',
'reload',
'reversed',
'round',
'set',
'setattr',
'slice',
82 'sorted',
'staticmethod',
'str',
'sum',
'super',
'tuple',
'type',
'unichr',
'unicode',
83 'vars',
'xrange',
'zip',
85 'False',
'True',
'None',
'NotImplemented',
'Ellipsis',
87 'Exception',
'StandardError',
'ArithmeticError',
'LookupError',
'EnvironmentError',
88 'AssertionError',
'AttributeError',
'EOFError',
'FloatingPointError',
'IOError',
89 'ImportError',
'IndexError',
'KeyError',
'KeyboardInterrupt',
'MemoryError',
'NameError',
90 'NotImplementedError',
'OSError',
'OverflowError',
'ReferenceError',
'RuntimeError',
91 'StopIteration',
'SyntaxError',
'SystemError',
'SystemExit',
'TypeError',
92 'UnboundlocalError',
'UnicodeError',
'UnicodeEncodeError',
'UnicodeDecodeError',
93 'UnicodeTranslateError',
'ValueError',
'WindowsError',
'ZeroDivisionError',
'Warning',
94 'UserWarning',
'DeprecationWarning',
'PendingDeprecationWarning',
'SyntaxWarning',
95 'RuntimeWarning',
'FutureWarning',
107 '__builtin__',
'__future__',
'__main__',
'_winreg',
'aifc',
'AL',
'al',
'anydbm',
108 'array',
'asynchat',
'asyncore',
'atexit',
'audioop',
'base64',
'BaseHTTPServer',
109 'Bastion',
'binascii',
'binhex',
'bisect',
'bsddb',
'bz2',
'calendar',
'cd',
'cgi',
110 'CGIHTTPServer',
'cgitb',
'chunk',
'cmath',
'cmd',
'code',
'codecs',
'codeop',
111 'collections',
'colorsys',
'commands',
'compileall',
'compiler',
112 'ConfigParser',
'Cookie',
'cookielib',
'copy',
'copy_reg',
'cPickle',
'crypt',
113 'cStringIO',
'csv',
'curses',
'datetime',
'dbhash',
'dbm',
'decimal',
'DEVICE',
114 'difflib',
'dircache',
'dis',
'distutils',
'dl',
'doctest',
'DocXMLRPCServer',
'dumbdbm',
115 'dummy_thread',
'dummy_threading',
'email',
'encodings',
'errno',
'exceptions',
'fcntl',
116 'filecmp',
'fileinput',
'FL',
'fl',
'flp',
'fm',
'fnmatch',
'formatter',
'fpectl',
117 'fpformat',
'ftplib',
'gc',
'gdbm',
'getopt',
'getpass',
'gettext',
'GL',
'gl',
'glob',
118 'gopherlib',
'grp',
'gzip',
'heapq',
'hmac',
'hotshot',
'htmlentitydefs',
'htmllib',
119 'HTMLParser',
'httplib',
'imageop',
'imaplib',
'imgfile',
'imghdr',
'imp',
'inspect',
120 'itertools',
'jpeg',
'keyword',
'linecache',
'locale',
'logging',
'mailbox',
'mailcap',
121 'marshal',
'math',
'md5',
'mhlib',
'mimetools',
'mimetypes',
'MimeWriter',
'mimify',
122 'mmap',
'msvcrt',
'multifile',
'mutex',
'netrc',
'new',
'nis',
'nntplib',
'operator',
123 'optparse',
'os',
'ossaudiodev',
'parser',
'pdb',
'pickle',
'pickletools',
'pipes',
124 'pkgutil',
'platform',
'popen2',
'poplib',
'posix',
'posixfile',
'pprint',
'profile',
125 'pstats',
'pty',
'pwd',
'py_compile',
'pyclbr',
'pydoc',
'Queue',
'quopri',
'random',
126 're',
'readline',
'repr',
'resource',
'rexec',
'rfc822',
'rgbimg',
'rlcompleter',
127 'robotparser',
'sched',
'ScrolledText',
'select',
'sets',
'sgmllib',
'sha',
'shelve',
128 'shlex',
'shutil',
'signal',
'SimpleHTTPServer',
'SimpleXMLRPCServer',
'site',
'smtpd',
129 'smtplib',
'sndhdr',
'socket',
'SocketServer',
'stat',
'statcache',
'statvfs',
'string',
130 'StringIO',
'stringprep',
'struct',
'subprocess',
'sunau',
'SUNAUDIODEV',
'sunaudiodev',
131 'symbol',
'sys',
'syslog',
'tabnanny',
'tarfile',
'telnetlib',
'tempfile',
'termios',
132 'test',
'textwrap',
'thread',
'threading',
'time',
'timeit',
'Tix',
'Tkinter',
'token',
133 'tokenize',
'traceback',
'tty',
'turtle',
'types',
'unicodedata',
'unittest',
'urllib2',
134 'urllib',
'urlparse',
'user',
'UserDict',
'UserList',
'UserString',
'uu',
'warnings',
135 'wave',
'weakref',
'webbrowser',
'whichdb',
'whrandom',
'winsound',
'xdrlib',
'xml',
136 'xmllib',
'xmlrpclib',
'zipfile',
'zipimport',
'zlib',
157 '__new__',
'__init__',
'__del__',
'__repr__',
'__str__',
158 '__lt__',
'__le__',
'__eq__',
'__ne__',
'__gt__',
'__ge__',
'__cmp__',
'__rcmp__',
159 '__hash__',
'__nonzero__',
'__unicode__',
'__dict__',
161 '__setattr__',
'__delattr__',
'__getattr__',
'__getattribute__',
'__get__',
'__set__',
162 '__delete__',
'__slots__',
164 '__metaclass__',
'__call__',
166 '__len__',
'__getitem__',
'__setitem__',
'__delitem__',
'__iter__',
'__contains__',
167 '__getslice__',
'__setslice__',
'__delslice__',
169 '__abs__',
'__add__',
'__and__',
'__coerce__',
'__div__',
'__divmod__',
'__float__',
170 '__hex__',
'__iadd__',
'__isub__',
'__imod__',
'__idiv__',
'__ipow__',
'__iand__',
171 '__ior__',
'__ixor__',
'__ilshift__',
'__irshift__',
'__invert__',
'__int__',
172 '__long__',
'__lshift__',
173 '__mod__',
'__mul__',
'__neg__',
'__oct__',
'__or__',
'__pos__',
'__pow__',
174 '__radd__',
'__rdiv__',
'__rdivmod__',
'__rmod__',
'__rpow__',
'__rlshift__',
'__rrshift__',
175 '__rshift__',
'__rsub__',
'__rmul__',
'__rand__',
'__rxor__',
'__ror__',
180 '<',
'>',
'=',
'!',
'<=',
'>=',
184 'CASE_SENSITIVE' => array(
193 1 =>
'color: #ff7700;font-weight:bold;',
194 2 =>
'color: #008000;',
195 3 =>
'color: #dc143c;',
196 4 =>
'color: #0000cd;' 199 1 =>
'color: #808080; font-style: italic;',
200 'MULTI' =>
'color: #808080; font-style: italic;' 202 'ESCAPE_CHAR' => array(
203 0 =>
'color: #000099; font-weight: bold;' 209 0 =>
'color: #483d8b;' 212 0 =>
'color: #ff4500;' 218 0 =>
'color: #66cc66;' 232 'OBJECT_SPLITTERS' => array(
238 'SCRIPT_DELIMITERS' => array(
240 'HIGHLIGHT_STRICT_BLOCK' => array(
const GESHI_NUMBER_FLT_SCI_ZERO
Number format to highlight floating-point numbers with support for scientific notation (E) and requir...
const GESHI_NUMBER_FLT_NONSCI_F
Number format to highlight floating-point numbers without support for scientific notation.
const GESHI_COMMENTS
Used in language files to mark comments.
const GESHI_NUMBER_HEX_PREFIX
Number format to highlight hex numbers with a prefix 0x.
const GESHI_NUMBER_BIN_PREFIX_0B
Number format to highlight binary numbers with a prefix 0b (C)
const GESHI_NUMBER_OCT_PREFIX_0O
Number format to highlight octal numbers with a prefix 0o (logtalk)
const GESHI_NUMBER_FLT_NONSCI
Number format to highlight floating-point numbers without support for scientific notation.
const GESHI_NUMBER_FLT_SCI_SHORT
Number format to highlight floating-point numbers with support for scientific notation (E) and option...
const GESHI_NEVER
#+ private
const GESHI_NUMBER_INT_BASIC
Basic number format for integers.
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.