We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3944d9e commit a99bcecCopy full SHA for a99bcec
1 file changed
pycodestyle.py
@@ -1219,7 +1219,7 @@ def readlines(filename):
1219
with open(filename, 'rb') as f:
1220
(coding, lines) = tokenize.detect_encoding(f.readline)
1221
f = TextIOWrapper(f, coding, line_buffering=True)
1222
- return [l.decode(coding) for l in lines] + f.readlines()
+ return [line.decode(coding) for line in lines] + f.readlines()
1223
except (LookupError, SyntaxError, UnicodeError):
1224
# Fall back if file encoding is improperly declared
1225
with open(filename, encoding='latin-1') as f:
0 commit comments