diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:45:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:45:48 (GMT) |
commit | 48842714b948fa239392ddd7e207151d5fcb8bc7 (patch) | |
tree | 7fd1573b10b193f735a2685bb832900608513e7d /Python/errors.c | |
parent | 0e0563ca2c6d67126f33ea077ddea19af71f14eb (diff) | |
download | cpython-48842714b948fa239392ddd7e207151d5fcb8bc7.zip cpython-48842714b948fa239392ddd7e207151d5fcb8bc7.tar.gz cpython-48842714b948fa239392ddd7e207151d5fcb8bc7.tar.bz2 |
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 47d7c4b..1d6e432 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; } |