💬 Change deprecation message

We no longer need io.open, so don't refer to it
either.
This commit is contained in:
Gina Häußge committed 2022-02-01 17:06:53 +01:00
1 parent 5304285f7b
commit 7115affea0
1 file changed
+1 -1
+1 -1
View File
@@ -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