Skip to content

Commit 77bd8ae

Browse files
committed
Switch two lines
1 parent b6da392 commit 77bd8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pep8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,8 +1267,8 @@ def readline(self):
12671267
"""Get the next line from the input buffer."""
12681268
if self.line_number >= len(self.lines):
12691269
return ''
1270+
line = self.lines[self.line_number]
12701271
self.line_number += 1
1271-
line = self.lines[self.line_number - 1]
12721272
if self.indent_char is None and line[:1] in WHITESPACE:
12731273
self.indent_char = line[0]
12741274
return line

0 commit comments

Comments
 (0)