Issue #22570: Renamed Py_SETREF to Py_XSETREF.

This commit is contained in:
Serhiy Storchaka 2016-04-06 09:45:48 +03:00
parent 0e0563ca2c
commit 48842714b9
37 changed files with 132 additions and 132 deletions

View file

@ -526,7 +526,7 @@ fp_setreadl(struct tok_state *tok, const char* enc)
goto cleanup;
readline = _PyObject_GetAttrId(stream, &PyId_readline);
Py_SETREF(tok->decoding_readline, readline);
Py_XSETREF(tok->decoding_readline, readline);
if (pos > 0) {
if (PyObject_CallObject(readline, NULL) == NULL) {
readline = NULL;