diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:45:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:45:48 (GMT) |
commit | 48842714b948fa239392ddd7e207151d5fcb8bc7 (patch) | |
tree | 7fd1573b10b193f735a2685bb832900608513e7d /Modules/cjkcodecs | |
parent | 0e0563ca2c6d67126f33ea077ddea19af71f14eb (diff) | |
download | cpython-48842714b948fa239392ddd7e207151d5fcb8bc7.zip cpython-48842714b948fa239392ddd7e207151d5fcb8bc7.tar.gz cpython-48842714b948fa239392ddd7e207151d5fcb8bc7.tar.bz2 |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r-- | Modules/cjkcodecs/multibytecodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c index 70a606f..e1cdb2c 100644 --- a/Modules/cjkcodecs/multibytecodec.c +++ b/Modules/cjkcodecs/multibytecodec.c @@ -793,7 +793,7 @@ encoder_encode_stateful(MultibyteStatefulEncoderContext *ctx, ctx->errors, final ? MBENC_FLUSH | MBENC_RESET : 0); if (r == NULL) { /* recover the original pending buffer */ - Py_SETREF(ctx->pending, origpending); + Py_XSETREF(ctx->pending, origpending); origpending = NULL; goto errorexit; } |