mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-115503: Fix run_presite
error handling (#115504)
This commit is contained in:
parent
321d13fd2b
commit
20eaf4d5df
1 changed files with 0 additions and 1 deletions
|
@ -1109,7 +1109,6 @@ run_presite(PyThreadState *tstate)
|
|||
);
|
||||
if (presite_modname == NULL) {
|
||||
fprintf(stderr, "Could not convert pre-site module name to unicode\n");
|
||||
Py_DECREF(presite_modname);
|
||||
}
|
||||
else {
|
||||
PyObject *presite = PyImport_Import(presite_modname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue