summaryrefslogtreecommitdiff
path: root/pygments/scanner.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-14 16:47:28 +0100
committerGeorg Brandl <georg@python.org>2016-02-14 16:47:28 +0100
commit2882c34a141f4f36ded54d1473c6d4f73684ffc7 (patch)
tree3b7f7d5eb6bd3e74d75e44018439f568ad2cf1aa /pygments/scanner.py
parent9ae620fdadc8ca9ad56317754b3d9587f57a6d15 (diff)
downloadpygments-2882c34a141f4f36ded54d1473c6d4f73684ffc7.tar.gz
some pep8 fixups
Diffstat (limited to 'pygments/scanner.py')
-rw-r--r--pygments/scanner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/scanner.py b/pygments/scanner.py
index 35dbbadd..3ff11e4a 100644
--- a/pygments/scanner.py
+++ b/pygments/scanner.py
@@ -66,7 +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):