mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
parent
05f842bae2
commit
83969eeeeb
1 changed files with 3 additions and 2 deletions
|
@ -2104,9 +2104,10 @@ ensure_fromlist(PyObject *mod, PyObject *fromlist, char *buf, int buflen,
|
|||
if (all == NULL)
|
||||
PyErr_Clear();
|
||||
else {
|
||||
if (!ensure_fromlist(mod, all, buf, buflen, 1))
|
||||
return 0;
|
||||
int ret = ensure_fromlist(mod, all, buf, buflen, 1);
|
||||
Py_DECREF(all);
|
||||
if (!ret)
|
||||
return 0;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue