mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
remove pointless condition
This commit is contained in:
parent
448da71807
commit
d51b259b31
1 changed files with 13 additions and 15 deletions
|
@ -3115,7 +3115,6 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
|
|||
else if (cmp < 0)
|
||||
goto fail;
|
||||
}
|
||||
if (j >= co->co_argcount) {
|
||||
if (kwdict == NULL) {
|
||||
PyObject *kwd_str = kwd_as_string(keyword);
|
||||
if (kwd_str) {
|
||||
|
@ -3130,7 +3129,6 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
|
|||
}
|
||||
PyDict_SetItem(kwdict, keyword, value);
|
||||
continue;
|
||||
}
|
||||
kw_found:
|
||||
if (GETLOCAL(j) != NULL) {
|
||||
PyObject *kwd_str = kwd_as_string(keyword);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue