Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1e8ac7c

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-2Lines changed: 1 addition & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.