8000 bpo-2091: Fix typo in exception message (GH-12987) · python/cpython@21a9ba1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 21a9ba1

Browse files
authored
bpo-2091: Fix typo in exception message (GH-12987)
1 parent 4d8c8c0 commit 21a9ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_io/_iomodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ _io_open_impl(PyObject *module, PyObject *file, const char *mode,
324324
if (universal) {
325325
if (creating || writing || appending || updating) {
326326
PyErr_SetString(PyExc_ValueError,
327-
"mode U cannot be combined with x', 'w', 'a', or '+'");
327+
"mode U cannot be combined with 'x', 'w', 'a', or '+'");
328328
goto error;
329329
}
330330
if (PyErr_WarnEx(PyExc_DeprecationWarning,

0 commit comments

Comments
 (0)
0