We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e8e471 + b2b195e commit 8c58f1fCopy full SHA for 8c58f1f
pep8.py
@@ -1037,7 +1037,7 @@ def python_3000_backticks(logical_line):
1037
# Python 2: implicit encoding.
1038
def readlines(filename):
1039
"""Read the source code."""
1040
- with open(filename) as f:
+ with open(filename, 'rU') as f:
1041
return f.readlines()
1042
isidentifier = re.compile(r'[a-zA-Z_]\w*').match
1043
stdin_get_value = sys.stdin.read
0 commit comments