mirror of https://github.com/python/cpython
Issue #15368: fixing variable typo.
This commit is contained in:
parent
6642d1f97d
commit
b8a569065e
|
@ -379,7 +379,7 @@ dictbytype(PyObject *src, int scope_type, int flag, int offset)
|
||||||
Py_DECREF(sorted_keys);
|
Py_DECREF(sorted_keys);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
num_keys = PyList_GET_SIZE(src);
|
num_keys = PyList_GET_SIZE(sorted_keys);
|
||||||
|
|
||||||
for (key_i = 0; key_i < num_keys; key_i++) {
|
for (key_i = 0; key_i < num_keys; key_i++) {
|
||||||
k = PyList_GET_ITEM(sorted_keys, key_i);
|
k = PyList_GET_ITEM(sorted_keys, key_i);
|
||||||
|
|
Loading…
Reference in New Issue