Skip to content

Commit 1e8ac7c

Browse files
authored
Update usage of open in setup.py (#9661)
1 parent 0e1c7d3 commit 1e8ac7c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import re
33
import shutil
44
import sys
5-
from io import open
65

76
from setuptools import find_packages, setup
87

@@ -36,7 +35,7 @@
3635

3736

3837
def read(f):
39-
with open(f, 'r', encoding='utf-8') as file:
38+
with open(f, encoding='utf-8') as file:
4039
return file.read()
4140

4241

0 commit comments

Comments
 (0)