summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-06 06:51:18 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-06 06:51:18 (GMT)
commitbc62af1bbe118aa678cb6fa4ecad40f7250b56de (patch)
tree785d2ad869c2c1d058bbfdc6e9af7fb7278b9d73 /Objects/stringobject.c
parentaad86a6015f8d4e1e4faea07e1400152f5843443 (diff)
downloadcpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.zip
cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.gz
cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.bz2
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index f585ffc..faaa111 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -3865,7 +3865,7 @@ PyString_Concat(register PyObject **pv, register PyObject *w)
return;
}
v = string_concat((PyStringObject *) *pv, w);
- Py_SETREF(*pv, v);
+ Py_XSETREF(*pv, v);
}
void
@@ -4750,7 +4750,7 @@ PyString_InternInPlace(PyObject **p)
t = PyDict_GetItem(interned, (PyObject *)s);
if (t) {
Py_INCREF(t);
- Py_SETREF(*p, t);
+ Py_XSETREF(*p, t);
return;
}