From: Barry Warsaw Date: Wed, 8 Jun 2016 21:55:49 +0000 (-0400) Subject: Fix a comment. X-Git-Tag: v3.5.2rc1~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=efe7256083bb94e85ce7b5ca5fa3122a5c0ce7a3;p=thirdparty%2FPython%2Fcpython.git Fix a comment. --- diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 3d41d8117997..919cf502dca4 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); }