summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index c5b4ac1..0c68c54 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -436,7 +436,7 @@ trace_trampoline(PyObject *self, PyFrameObject *frame,
return -1;
}
if (result != Py_None) {
- Py_SETREF(frame->f_trace, result);
+ Py_XSETREF(frame->f_trace, result);
}
else {
Py_DECREF(result);