summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-03 01:10:11 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-07-03 01:10:11 -0400
commitbb215e23004af8e8105fae4e132a63b0c25ea47c (patch)
tree1e0023f5f39b23e58178ffeb992ac5e2264ff1e9 /Python/errors.c
parent1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605 (diff)
parentf488fb422a641aa7c38eb63c09f459e4baff7bc4 (diff)
downloadcpython-git-bb215e23004af8e8105fae4e132a63b0c25ea47c.tar.gz
Merge 3.5 (Issue #19235)
Diffstat (limited to 'Python/errors.c')
-rw-r--r--Python/errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c
index 1172c59047..aed2bdc12d 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -319,7 +319,7 @@ finally:
Py_DECREF(*exc);
Py_DECREF(*val);
/* ... and use the recursion error instead */
- *exc = PyExc_RuntimeError;
+ *exc = PyExc_RecursionError;
*val = PyExc_RecursionErrorInst;
Py_INCREF(*exc);
Py_INCREF(*val);