Issue #22570: Renamed Py_SETREF to Py_XSETREF.
diff --git a/Include/object.h b/Include/object.h
index 8fe202d..6481a5b 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -833,14 +833,14 @@
*
* The safe way is:
*
- * Py_SETREF(op, op2);
+ * Py_XSETREF(op, op2);
*
* That arranges to set `op` to `op2` _before_ decref'ing, so that any code
* triggered as a side-effect of `op` getting torn down no longer believes
* `op` points to a valid object.
*/
-#define Py_SETREF(op, op2) \
+#define Py_XSETREF(op, op2) \
do { \
PyObject *_py_tmp = (PyObject *)(op); \
(op) = (op2); \