diff options
Diffstat (limited to 'pygments/scanner.py')
-rw-r--r-- | pygments/scanner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/scanner.py b/pygments/scanner.py index 5f32a22c..a17b7944 100644 --- a/pygments/scanner.py +++ b/pygments/scanner.py @@ -72,7 +72,7 @@ class Scanner: def scan(self, pattern): """ Scan the text for the given pattern and update pos/match - and related fields. The return value is a boolen that + and related fields. The return value is a boolean that indicates if the pattern matched. The matched value is stored on the instance as ``match``, the last value is stored as ``last``. ``start_pos`` is the position of the |