diff options
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r-- | pygments/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py index 98e96530..6a3159ac 100644 --- a/pygments/__init__.py +++ b/pygments/__init__.py @@ -78,9 +78,7 @@ def format(tokens, formatter, outfile=None): def highlight(code, lexer, formatter, outfile=None): """ - Lex ``code`` with ``lexer`` and format it with the formatter - ``formatter``. If ``filters`` are given they will be applied - on the token stream. + 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 |