mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merge
This commit is contained in:
commit
74942c9252
1 changed files with 1 additions and 1 deletions
|
@ -1047,7 +1047,7 @@ _imp_create_builtin(PyObject *module, PyObject *spec)
|
||||||
mod = _PyImport_FindExtensionObject(name, name);
|
mod = _PyImport_FindExtensionObject(name, name);
|
||||||
if (mod || PyErr_Occurred()) {
|
if (mod || PyErr_Occurred()) {
|
||||||
Py_DECREF(name);
|
Py_DECREF(name);
|
||||||
Py_INCREF(mod);
|
Py_XINCREF(mod);
|
||||||
return mod;
|
return mod;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue