💬 Change deprecation message
We no longer need io.open, so don't refer to it either.
This commit is contained in:
1 parent
5304285f7b
commit
7115affea0
1 file changed
+1
-1
@@ -1034,7 +1034,7 @@ def temppath(prefix=None, suffix=""):
|
||||
TemporaryDirectory = tempfile.TemporaryDirectory
|
||||
|
||||
|
||||
@deprecated("Please use io.open with '-sig' encoding instead", since="1.8.0")
|
||||
@deprecated("Please use open with '-sig' encoding instead", since="1.8.0")
|
||||
def bom_aware_open(filename, encoding="ascii", mode="r", **kwargs):
|
||||
# TODO Remove in 2.0.0
|
||||
import codecs
|
||||
|
||||
Reference in new issue
Block a user