mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +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)
|
else if (cmp < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
if (j >= co->co_argcount) {
|
|
||||||
if (kwdict == NULL) {
|
if (kwdict == NULL) {
|
||||||
PyObject *kwd_str = kwd_as_string(keyword);
|
PyObject *kwd_str = kwd_as_string(keyword);
|
||||||
if (kwd_str) {
|
if (kwd_str) {
|
||||||
|
@ -3130,7 +3129,6 @@ PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
|
||||||
}
|
}
|
||||||
PyDict_SetItem(kwdict, keyword, value);
|
PyDict_SetItem(kwdict, keyword, value);
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
kw_found:
|
kw_found:
|
||||||
if (GETLOCAL(j) != NULL) {
|
if (GETLOCAL(j) != NULL) {
|
||||||
PyObject *kwd_str = kwd_as_string(keyword);
|
PyObject *kwd_str = kwd_as_string(keyword);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue