summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-02-06 19:40:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-02-06 19:40:18 (GMT)
commitee46101e68216863a210ec6d47d4b024d943e2b0 (patch)
tree77efda799828930dfeec8492f7d668d8c6517039
parent6f82cd309c735debd5f6476c21e30c1f91375017 (diff)
downloadcpython-ee46101e68216863a210ec6d47d4b024d943e2b0.zip
cpython-ee46101e68216863a210ec6d47d4b024d943e2b0.tar.gz
cpython-ee46101e68216863a210ec6d47d4b024d943e2b0.tar.bz2
remove pointless error checking
-rw-r--r--Python/ceval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 0b8a377..7c1f781 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3115,9 +3115,6 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
else if (cmp < 0)
goto fail;
}
- /* Check errors from Compare */
- if (PyErr_Occurred())
- goto fail;
if (j >= co->co_argcount) {
if (kwdict == NULL) {
PyObject *kwd_str = kwd_as_string(keyword);