mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fixes loop variables to be the same types as their limit (GH-120958)
This commit is contained in:
parent
2e157851e3
commit
e731554337
14 changed files with 26 additions and 26 deletions
|
@ -5109,7 +5109,7 @@ compiler_call_simple_kw_helper(struct compiler *c, location loc,
|
|||
if (names == NULL) {
|
||||
return ERROR;
|
||||
}
|
||||
for (int i = 0; i < nkwelts; i++) {
|
||||
for (Py_ssize_t i = 0; i < nkwelts; i++) {
|
||||
keyword_ty kw = asdl_seq_GET(keywords, i);
|
||||
PyTuple_SET_ITEM(names, i, Py_NewRef(kw->arg));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue