summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2018-01-29 11:32:12 +0800
committerGitHub <noreply@github.com>2018-01-29 11:32:12 +0800
commit997478eb797b31bd724135ca17781d1cf4b89cfa (patch)
treebc1c306d7a56bd2956975d044e8dad6dba73c8a3 /Python
parentbpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#... (diff)
downloadcpython-997478eb797b31bd724135ca17781d1cf4b89cfa.tar.gz
cpython-997478eb797b31bd724135ca17781d1cf4b89cfa.tar.bz2
cpython-997478eb797b31bd724135ca17781d1cf4b89cfa.zip
bpo-32688: Make why the line is commented out clear (GH-5405)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 3d7bed0111b..128ec2c0045 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3525,7 +3525,7 @@ fast_yield:
tstate, f,
PyTrace_RETURN, retval)) {
Py_CLEAR(retval);
- /* why = WHY_EXCEPTION; */
+ /* why = WHY_EXCEPTION; useless yet but cause compiler warnings */
}
}
}