/usr/lib/python2.6/site-packages/pygments
NameSizeModeActions
filters/-0755rm
formatters/-0755rm
lexers/-0755rm
styles/-0755rm
cmdline.py130550644editdlrm
cmdline.pyc104430644editdlrm
cmdline.pyo104430644editdlrm
console.py18500644editdlrm
console.pyc23400644editdlrm
console.pyo23400644editdlrm
filter.py20710644editdlrm
filter.pyc31840644editdlrm
filter.pyo31840644editdlrm
formatter.py27900644editdlrm
formatter.pyc33440644editdlrm
formatter.pyo33440644editdlrm
lexer.py226250644editdlrm
lexer.pyc209710644editdlrm
lexer.pyo202040644editdlrm
plugin.py18620644editdlrm
plugin.pyc23730644editdlrm
plugin.pyo23730644editdlrm
scanner.py31140644editdlrm
scanner.pyc41740644editdlrm
scanner.pyo41740644editdlrm
style.py37450644editdlrm
style.pyc39430644editdlrm
style.pyo38670644editdlrm
token.py57840644editdlrm
token.pyc54080644editdlrm
token.pyo54080644editdlrm
unistring.py4042490644editdlrm
unistring.pyc2085150644editdlrm
unistring.pyo2085150644editdlrm
util.py65770644editdlrm
util.pyc77970644editdlrm
util.pyo77970644editdlrm
__init__.py29350644editdlrm
__init__.pyc33340644editdlrm
__init__.pyo33340644editdlrm
Edit: /usr/lib/python2.6/site-packages/pygments/__init__.pyc (3334B)
Ñò Žf¯Jc@s«dZdZdZdddgZddkZddkZddklZlZd „Z dd „Z dd „Z e d jo*dd klZeieeiƒƒndS(sÖ Pygments ~~~~~~~~ Pygments is a syntax highlighting package written in Python. It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. Highlights are: * a wide range of common languages and markup formats is supported * special attention is paid to details, increasing quality by a fair amount * support for new languages and formats are added easily * a number of output formats, presently HTML, LaTeX, RTF, SVG and ANSI sequences * it is usable as a command-line tool and as a library * ... and it highlights even Brainfuck! The `Pygments tip`_ is installable with ``easy_install Pygments==dev``. .. _Pygments tip: http://dev.pocoo.org/hg/pygments-main/archive/tip.tar.gz#egg=Pygments-dev :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. s1.1.1trestructuredtexttlextformatt highlightiÿÿÿÿN(tStringIOtBytesIOcCsky|i|ƒSWnStj oG}t|idtƒo$d|idjotdƒ‚n‚nXdS(sG Lex ``code`` with ``lexer`` and return an iterable of tokens. isunbound method get_tokenss4lex() argument must be a lexer instance, not a classN(t get_tokenst TypeErrort isinstancetargststr(tcodetlexerterr((s5/usr/lib/python2.6/site-packages/pygments/__init__.pyR'scCs­yS|p8|io tƒptƒ}|i||ƒ|iƒS|i||ƒWnStj oG}t|idtƒo$d|idjotdƒ‚n‚nXdS(só Format a tokenlist ``tokens`` with the formatter ``formatter``. If ``outfile`` is given and a valid file object (an object with a ``write`` method), the result will be written to it, otherwise it is returned as a string. isunbound method formats;format() argument must be a formatter instance, not a classN( tencodingRRRtgetvalueRRR R (ttokenst formattertoutfilet realoutfileR ((s5/usr/lib/python2.6/site-packages/pygments/__init__.pyR5s cCstt||ƒ||ƒS(sÿ Lex ``code`` with ``lexer`` and format it with the formatter ``formatter``. If ``outfile`` is given and a valid file object (an object with a ``write`` method), the result will be written to it, otherwise it is returned as a string. (RR(R R RR((s5/usr/lib/python2.6/site-packages/pygments/__init__.pyRMst__main__(tmain(t__doc__t __version__t __docformat__t__all__tsystost pygments.utilRRRtNoneRRt__name__tpygments.cmdlineRtexittargv(((s5/usr/lib/python2.6/site-packages/pygments/__init__.pyts