mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
Fix merge error
This commit is contained in:
parent
81ee3efede
commit
9f4bf1dcd1
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno,
|
||||||
}
|
}
|
||||||
else if (!is_true) {
|
else if (!is_true) {
|
||||||
Py_DECREF(*filename);
|
Py_DECREF(*filename);
|
||||||
*filename = PyString_FromString("__main__");
|
*filename = PyUnicode_FromString("__main__");
|
||||||
if (*filename == NULL)
|
if (*filename == NULL)
|
||||||
goto handle_error;
|
goto handle_error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue