Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7841ef

Browse files
committed
Merge with 3.4
2 parents c8115b8 + 4aa30dc commit d7841ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tools/rstlint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def main(argv):
196196
print('Checking %s...' % fn)
197197

198198
try:
199-
with open(fn, 'r') as f:
199+
with open(fn, 'r', encoding='utf-8') as f:
200200
lines = list(f)
201201
except (IOError, OSError) as err:
202202
print('%s: cannot open: %s' % (fn, err))

0 commit comments

Comments
 (0)