summaryrefslogtreecommitdiff
path: root/pygments/__init__.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2008-11-22 15:34:14 +0100
committergbrandl <devnull@localhost>2008-11-22 15:34:14 +0100
commit0d698541670062a9916d1a995b60d19ecd65f51c (patch)
treec11e6796930d527f61e821f2cecd2997b649b352 /pygments/__init__.py
parenta67c6790451090a4b1a370775be1c73b86ab8e43 (diff)
downloadpygments-0d698541670062a9916d1a995b60d19ecd65f51c.tar.gz
Remove outdated sentence from docstring.
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r--pygments/__init__.py4
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