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

setup.py

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy