mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -680,7 +680,7 @@ setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno,
|
|||
goto handle_error;
|
||||
}
|
||||
else if (!is_true) {
|
||||
Py_SETREF(*filename, PyUnicode_FromString("__main__"));
|
||||
Py_XSETREF(*filename, PyUnicode_FromString("__main__"));
|
||||
if (*filename == NULL)
|
||||
goto handle_error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue