Commit 9f4bf1dc authored by Benjamin Peterson's avatar Benjamin Peterson

Fix merge error

parent 81ee3efe
......@@ -498,7 +498,7 @@ setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno,
}
else if (!is_true) {
Py_DECREF(*filename);
*filename = PyString_FromString("__main__");
*filename = PyUnicode_FromString("__main__");
if (*filename == NULL)
goto handle_error;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment