[Python-checkins] cpython (3.5): Fix a comment.
barry.warsaw
python-checkins at python.org
Wed Jun 8 17:57:36 EDT 2016
https://hg.python.org/cpython/rev/eccfb9b597c1
changeset: 101813:eccfb9b597c1
branch: 3.5
parent: 101811:4af64ab34eef
user: Barry Warsaw <barry at python.org>
date: Wed Jun 08 17:55:49 2016 -0400
summary:
Fix a comment.
files:
Modules/_io/fileio.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -423,7 +423,8 @@
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);
}
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list