mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
This commit is contained in:
parent
0e0563ca2c
commit
48842714b9
37 changed files with 132 additions and 132 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue