diff options
author | gbrandl <devnull@localhost> | 2006-10-28 11:29:51 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-10-28 11:29:51 +0200 |
commit | 7643e3657c557da72dada0f3ae3700b8a255206c (patch) | |
tree | 9e80ce4e402c3f85d7bacf1e761ab9b947c0552e /pygments/lexer.py | |
parent | 4b9bb3ddd402107a42dbfeeb671bb0c2ecdb9e90 (diff) | |
download | pygments-7643e3657c557da72dada0f3ae3700b8a255206c.tar.gz |
[svn] update TODO.
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r-- | pygments/lexer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py index b5320ce2..049b2868 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -67,9 +67,9 @@ class Lexer(object): def analyse_text(text): """ - Has to return an float between ``0`` and ``1`` that indicates - if a lexer wants to highighlight that. used by ``guess_lexer``. - If this method returns ``0`` it won't highlight it at all, if + Has to return a float between ``0`` and ``1`` that indicates + if a lexer wants to highlight this text. Used by ``guess_lexer``. + If this method returns ``0`` it won't highlight it in any case, if it returns ``1`` highlighting with this lexer is guaranteed. The `LexerMeta` metaclass automatically wraps this function so |