diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2019-04-27 19:40:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-27 19:40:45 (GMT) |
commit | 21a9ba1992775b5a833da28bfa0a9f028d1b6761 (patch) | |
tree | 1c9836995ae46b396f4addaa5770947ae81048e3 /Modules | |
parent | 4d8c8c0ad6163c24136d3419eb04f310b31f7e64 (diff) | |
download | cpython-21a9ba1992775b5a833da28bfa0a9f028d1b6761.zip cpython-21a9ba1992775b5a833da28bfa0a9f028d1b6761.tar.gz cpython-21a9ba1992775b5a833da28bfa0a9f028d1b6761.tar.bz2 |
bpo-2091: Fix typo in exception message (GH-12987)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_io/_iomodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/_iomodule.c b/Modules/_io/_iomodule.c index 965c484..d482142 100644 --- a/Modules/_io/_iomodule.c +++ b/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, |