From efe7256083bb94e85ce7b5ca5fa3122a5c0ce7a3 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 8 Jun 2016 17:55:49 -0400 Subject: Fix a comment. --- Modules/_io/fileio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 3d41d81..919cf50 100644 --- a/Modules/_io/fileio.c +++ b/Modules/_io/fileio.c @@ -423,7 +423,8 @@ _io_FileIO___init___impl(fileio *self, PyObject *nameobj, const char *mode, Py_DECREF(fdobj); if (self->fd < 0) { if (!PyErr_Occurred()) { - /* The opener returned -1. See issue #27066 */ + /* The opener returned a negative but didn't set an + exception. See issue #27066 */ PyErr_Format(PyExc_ValueError, "opener returned %d", self->fd); } -- cgit v0.12