We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6da392 commit 77bd8aeCopy full SHA for 77bd8ae
1 file changed
pep8.py
@@ -1267,8 +1267,8 @@ def readline(self):
1267
"""Get the next line from the input buffer."""
1268
if self.line_number >= len(self.lines):
1269
return ''
1270
+ line = self.lines[self.line_number]
1271
self.line_number += 1
- line = self.lines[self.line_number - 1]
1272
if self.indent_char is None and line[:1] in WHITESPACE:
1273
self.indent_char = line[0]
1274
return line
0 commit comments