diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 09:45:48 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 09:45:48 +0300 |
commit | 58455ad4ed5e6f1eda17ceb0dd7f5612a980e48d (patch) | |
tree | 1564989c2a0b1389787c357194cae65fb70849c0 /Python/errors.c | |
parent | 719f2f64743c4484f3612378a3ceefe8cae3da05 (diff) | |
download | cpython-58455ad4ed5e6f1eda17ceb0dd7f5612a980e48d.tar.gz |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c index 47d7c4b992..1d6e432d6b 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -311,9 +311,9 @@ finally: --tstate->recursion_depth; /* throw away the old exception and use the recursion error instead */ Py_INCREF(PyExc_RecursionError); - Py_SETREF(*exc, PyExc_RecursionError); + Py_XSETREF(*exc, PyExc_RecursionError); Py_INCREF(PyExc_RecursionErrorInst); - Py_SETREF(*val, PyExc_RecursionErrorInst); + Py_XSETREF(*val, PyExc_RecursionErrorInst); /* just keeping the old traceback */ return; } |