diff options
author | Barry Warsaw <barry@python.org> | 2016-06-08 17:55:49 -0400 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2016-06-08 17:55:49 -0400 |
commit | aed3e9b912f7a3e471af49e1d3b560b356be5568 (patch) | |
tree | e37f3e16b7d91a8d302a9e240fa082737921e8a3 | |
parent | 54512b6e84565c83e19bcf94d186fd533e92445b (diff) | |
download | cpython-aed3e9b912f7a3e471af49e1d3b560b356be5568.tar.gz |
Fix a comment.
-rw-r--r-- | Modules/_io/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index 3d41d81179..919cf502dc 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); } |