commit | bc62af1bbe118aa678cb6fa4ecad40f7250b56de | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Apr 06 09:51:18 2016 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Apr 06 09:51:18 2016 +0300 |
tree | 785d2ad869c2c1d058bbfdc6e9af7fb7278b9d73 | |
parent | aad86a6015f8d4e1e4faea07e1400152f5843443 [diff] [blame] |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
diff --git a/Modules/_csv.c b/Modules/_csv.c index 9271413..e78ac95 100644 --- a/Modules/_csv.c +++ b/Modules/_csv.c
@@ -277,7 +277,7 @@ } else { Py_INCREF(src); - Py_SETREF(*target, src); + Py_XSETREF(*target, src); } } return 0; @@ -769,7 +769,7 @@ static int parse_reset(ReaderObj *self) { - Py_SETREF(self->fields, PyList_New(0)); + Py_XSETREF(self->fields, PyList_New(0)); if (self->fields == NULL) return -1; self->field_len = 0;