summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2013-02-09 17:04:53 +0100
committerFlorent Xicluna <florent.xicluna@gmail.com>2013-02-09 17:04:53 +0100
commit823c2291c33df3f45193f31dca63a6583a30c78a (patch)
tree3b90343b779f08ee3d7f570024cd6a287bd180af
parent0e6a550fce223cbe0cbb8c02486f4b880a417643 (diff)
downloadpep8-823c2291c33df3f45193f31dca63a6583a30c78a.tar.gz
One-liner docstring
-rwxr-xr-xpep8.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pep8.py b/pep8.py
index 7c2225a..917ef2b 100755
--- a/pep8.py
+++ b/pep8.py
@@ -1508,9 +1508,7 @@ class StandardReport(BaseReport):
self._show_pep8 = options.show_pep8
def error(self, line_number, offset, text, check):
- """
- Report an error, according to options.
- """
+ """Report an error, according to options."""
code = super(StandardReport, self).error(line_number, offset,
text, check)
if code and (self.counters[code] == 1 or self._repeat):