diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:51:18 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:51:18 (GMT) |
| commit | bc62af1bbe118aa678cb6fa4ecad40f7250b56de (patch) | |
| tree | 785d2ad869c2c1d058bbfdc6e9af7fb7278b9d73 /Objects/unicodeobject.c | |
| parent | aad86a6015f8d4e1e4faea07e1400152f5843443 (diff) | |
| download | cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.zip cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.gz cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.bz2 | |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Objects/unicodeobject.c')
| -rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 9f503bd..454451e 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -436,7 +436,7 @@ int _PyUnicode_Resize(PyUnicodeObject **unicode, Py_ssize_t length) return -1; Py_UNICODE_COPY(w->str, v->str, length < v->length ? length : v->length); - Py_SETREF(*unicode, w); + Py_XSETREF(*unicode, w); return 0; } |
