summaryrefslogtreecommitdiff
path: root/pygments/lexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r--pygments/lexer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py
index 816e99bd..6f57f31d 100644
--- a/pygments/lexer.py
+++ b/pygments/lexer.py
@@ -386,9 +386,7 @@ class LexerContext(object):
class ExtendedRegexLexer(RegexLexer):
"""
- A RegexLexer which additionally allows functions to be
- specified as "token types", in which case the function will
- be called.
+ A RegexLexer that uses a context object to store its state.
"""
def get_tokens_unprocessed(self, text=None, context=None):