diff options
author | orivej <[email protected]> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/python/Pygments/py2/pygments/scanner.py | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/Pygments/py2/pygments/scanner.py')
-rw-r--r-- | contrib/python/Pygments/py2/pygments/scanner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/Pygments/py2/pygments/scanner.py b/contrib/python/Pygments/py2/pygments/scanner.py index 0d94eea7364..bcb19ed9c6e 100644 --- a/contrib/python/Pygments/py2/pygments/scanner.py +++ b/contrib/python/Pygments/py2/pygments/scanner.py @@ -12,7 +12,7 @@ Have a look at the `DelphiLexer` to get an idea of how to use this scanner. - :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re @@ -66,8 +66,8 @@ class Scanner(object): def test(self, pattern): """Apply a pattern on the current position and check - if it patches. Doesn't touch pos. - """ + if it patches. Doesn't touch pos. + """ return self.check(pattern) is not None def scan(self, pattern): |