--- a/Plugins/CheckerPlugins/Pep8/Pep257Checker.py Wed Sep 18 19:53:54 2013 +0200 +++ b/Plugins/CheckerPlugins/Pep8/Pep257Checker.py Thu Sep 19 18:58:33 2013 +0200 @@ -778,7 +778,6 @@ not contextLines[cti].strip().startswith( ('"""', 'r"""', 'u"""', "'''", "r'''", "u'''")): cti += 1 - if cti == len(contextLines): return @@ -835,7 +834,7 @@ return docstrings = docstringContext.source() - if len(docstrings) in [1, 3]: + if len(docstrings) <= 3: # correct/invalid one-liner return