diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 09:51:18 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 09:51:18 +0300 |
commit | bc62af1bbe118aa678cb6fa4ecad40f7250b56de (patch) | |
tree | 785d2ad869c2c1d058bbfdc6e9af7fb7278b9d73 /Modules/bz2module.c | |
parent | aad86a6015f8d4e1e4faea07e1400152f5843443 (diff) | |
download | cpython-git-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.gz |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Modules/bz2module.c')
-rw-r--r-- | Modules/bz2module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index fe417c5ffa..c33e03ca22 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -1953,7 +1953,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args) self->running = 0; input_left += bzs->avail_in; if (input_left != 0) { - Py_SETREF(self->unused_data, + Py_XSETREF(self->unused_data, PyString_FromStringAndSize(bzs->next_in, input_left)); if (self->unused_data == NULL) goto error; |