Skip to content
Permalink
Browse files

bpo-2091: Fix typo in exception message (GH-12987)

  • Loading branch information
berkerpeksag committed Apr 27, 2019
1 parent 4d8c8c0 commit 21a9ba1992775b5a833da28bfa0a9f028d1b6761
Showing with 1 addition and 1 deletion.
  1. +1 −1 Modules/_io/_iomodule.c
@@ -324,7 +324,7 @@ _io_open_impl(PyObject *module, PyObject *file, const char *mode,
if (universal) {
if (creating || writing || appending || updating) {
PyErr_SetString(PyExc_ValueError,
"mode U cannot be combined with x', 'w', 'a', or '+'");
"mode U cannot be combined with 'x', 'w', 'a', or '+'");
goto error;
}
if (PyErr_WarnEx(PyExc_DeprecationWarning,

0 comments on commit 21a9ba1

Please sign in to comment.
You can’t perform that action at this time.