Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r80374:5540d6ac9103
Date: 2015-10-21 10:57 +0200
http://bitbucket.org/pypy/pypy/changeset/5540d6ac9103/

Log:    Issue #2168: fix error message

diff --git a/pypy/module/_io/interp_io.py b/pypy/module/_io/interp_io.py
--- a/pypy/module/_io/interp_io.py
+++ b/pypy/module/_io/interp_io.py
@@ -100,7 +100,7 @@
         )
     if binary and encoding is not None:
         raise OperationError(space.w_ValueError,
-            space.wrap("binary mode doesn't take an errors argument")
+            space.wrap("binary mode doesn't take an encoding argument")
         )
     if binary and newline is not None:
         raise OperationError(space.w_ValueError,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to